-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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 password on confirmation when changing email #4503
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
}); | ||
}, | ||
}) | ||
.mutation("verifyPassword", { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this new tRPC endpoint for in the future if we need to confirm passwords
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works; but the UX experience isn't great.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking. Let's make this right. I'd rather disable email changes until then.
Thanks for the feedback @zomars and @emrysal. The confirm password modal now appears only if the email was changed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this PR do?
This PR prompts the user to confirm their password before changing their email.
Fixes # (issue)
https://www.loom.com/share/314277d527d0453a894f1d41741ce248
Environment: Staging(main branch) / Production
Type of change
How should this be tested?
Checklist