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

Prevent verification email after signup #9306

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rbennettcw
Copy link
Contributor

Link to Issue

Closes: #8870

Description of Changes

  • Prevents verification email from being sent after user signs up with magic

Test Plan

  • Sign up w/ magic– ensure that no email is sent after signing up (aside from the magic 3-digit code)

Deployment Plan

N/A

Other Considerations

N/A

Comment on lines -133 to -137
// set email for notifications
if (values.email) {
await updateEmail({ email: values.email });
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removing this would break email saving logic for users with normal account creation flows. If we want to prevent on SSO emails from hitting the /updateEmail API then we should hide that email from getting displayed in this form, that would be somewhere along these lines

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

Successfully merging this pull request may close these issues.

Do not send "verify email" emails after magic sign-in
2 participants