-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Changing user's email: keep logging by old before verification #5123
Comments
This is why most forms have a second text field named "Verify Email Address". Nevertheless, your intended workflow is easily achievable with custom code. |
Yes he can, after the user verifies his identity, you can use master key to reset the email and flag. |
How he can do it? The email in the base is wrong, the user has another one.
How I can send verification email with custom code? |
I have no idea, it's solely based on your business, and how you interact with users and what kind of data you gather and how you can verify their identity. As for your second question, that is not what i meant. I suggest you ask for help on stackoverflow. |
Oh, you can't hear me. Keeping an old email until na ew one will confirmed is the common practice, it uses on Twitter, Contentful, etc. And the Parse Server has a mechanism of an email verification, so it's strange and unreasonable to build custom separate one for this function. |
Ok, I got what you mean now. So the email verification workflow suggested is: |
@georgesjamous right. |
This is not how the feature nor parse-server is designed. If you wish to see this behavior, feel free to work on a Pr and we’ll evaluate whether or not we accept it in the codebase. |
@flovilmart I've made. #5147 |
Hi there. There is a problem when user changes his email. As soon as he changes it, the 'emailVerified' flag resets and verification mail sends to new address. So if the user types wrong email, he can't confirm it and he is risking to lose his account, and the support can't help him.
So, I think the good solution is to keep possibility to log in by the old email until the new email is unconfirmed.
The text was updated successfully, but these errors were encountered: