-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Disable access for users with unverified email #1958
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
No you can't but a Pull Request would be welcome. |
@chderen What you could do as an alternative is enable anonymous users in your app and query that particular user as a cloud code call using the master key. If the email is verified then you can perform the login inside the completion block of the called cloud function. Alternatively, you could even just log them out immediately with an error message if the email is not verified but that may be a dirtier method. If you need sample code for the cloud code method in the first solution I'd be happy to help. |
@FridaySG @flovilmart Thanks.
my thoughts are that the email verification on login is required. |
@flovilmart this was implemented in the recently merged #2175 - I think you can close it. |
Thanks |
BTW, I guess you can close it also :) |
Hi,
can i disable login for users with emailVerified=false on the server-side?
Thanks
The text was updated successfully, but these errors were encountered: