AnshOriginal post
Rank 2: Process
so i am building a social media app on appwrite but i only want the user which have verified their email to be able to login. the login function is creating an email session but i am not able to insert any permission so that only verified users are able to create a email session on login. i am using appwrite 9.0.1
Summary
The user wants to restrict access to only verified users in their social media app built on Appwrite. Although they have a login function creating an email session, they cannot figure out how to insert permissions to only allow verified users to create an email session. They are using Appwrite 9.0.1.
Solution: To ensure only verified users can login, you can modify the login function by checking whether the user's email has been verified before creating an email session. If the email is verified, allow the user to create a session; otherwise, deny access.