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
- Clarity on Appwrite Messging
When using Appwrite messaging with FCM, do I need to include the user's firebaseToken in the createTarget object? If I omit the firebaseToken, will Appwrite sti...
- Unable to View Gifts on Screen After Rec...
I am experiencing an issue where gifts are saved on the server and I am able to receive them, but they are not visible on the screen when using an SVGA player. ...
- functions cors error
async function getData() { const url = "https://6798f32eae97aea2944b.appwrite.global/"; try { const response = await fetch(url); if (!response.ok) {...