Hey Pal,
i'm using flutter for my project, how do i verify that a user email account has been verified?
Import Appwrite models and use user.emailVerification
yes, you are right, but i want to check if a particular user that has been login is verified else redirect them to a page where that are to input an otp code from their email
If you meant the currently logged-in user, indeed the Appwrite user model will have the current user info. So, calling user.emailVerification will return a boolean value indicating whether the user's email is verified
Recommended threads
- Custom Domain Verification Failed
Hi! I woke up to my app not working because of this custom domain verification failed error. I have not moved any DNS configuration since I set it up 3 years ag...
- CORS preflight returns 500 on Dart funct...
Hey everyone 👋 I’m running a Dart cloud function, Every time I respond to a preflight (OPTIONS) request, I get a 500 internal error, and the logs show: ```NoSu...
- Auto Updating Backend & Auth via Appwrit...
<@870607367597850624> Hey everyone 👋 I wanted to ask to ask for a friend, he’s asking if Appwrite be used in a similar way to Supabase when integrated with AI ...