Skip to content
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

Add way to update user email #464

Open
SachaG opened this issue Nov 26, 2024 · 2 comments
Open

Add way to update user email #464

SachaG opened this issue Nov 26, 2024 · 2 comments

Comments

@SachaG
Copy link
Member

SachaG commented Nov 26, 2024

This might be a little bit tricky because of our anonymous log-in flow, but it would be useful to add a way for users to update their emails, or at least for an admin to do it manually.

@eric-burel
Copy link
Contributor

As admins we can retrieve a user document if provided the email (we need to encode it), and then we could change that for the encoded email. But to keep the process secure we need to authenticate the user, so they have to at least send us an email from their current email. If the current email doesn't exist anymore the account is technically just lost.
If people are reaching out via email, we could craft something in surveyadmin to retrieve the user document from a given email and encode the new email, maybe keep the old one as a safety net (eg "my account was actually hacked let me rollback to the older mail")

@SachaG
Copy link
Member Author

SachaG commented Nov 26, 2024

Yeah I will do something like that for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants