Is there a way to change the value of a firestore database field after clicking the verify email link?

Viewed 18

I am using angular 14 and latest of firbase and built an app using this Facebook clone YouTube video.

I have created a boolean field in users called isVerified. I have added a user.sendEmailVerification() and user do get a verification email link. But the problem is that a user can still sign in without clicking the link. I want to make it such that on clicking the link, the isVerified field turns true so that the user can login and and view home page.

0 Answers
Related