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

chore: resetPassword and verifyEmail to no longer sign in the user automatically #12385

Merged
merged 1 commit into from
Dec 19, 2022

Conversation

denihs
Copy link
Contributor

@denihs denihs commented Dec 16, 2022

Changing the methods resetPassword() and verifyEmail() to no longer sign in the user automatically if they have 2fa enabled.

By default these methods already work has the 2FA, sort of speaking, because you need to have access to the user's email in order to finish the operation.

This PR just adds one more layer to that.

…r sign in the user automatically if they have 2fa enabled
@denihs
Copy link
Contributor Author

denihs commented Dec 16, 2022

I consider this to be a breaking change. Is that a fair statement?

Maybe we should apply this by default but give the developer the option to disable this behavior?

@Grubba27
Copy link
Contributor

Grubba27 commented Dec 19, 2022

I consider this to be a breaking change. Is that a fair statement?

I do think the same.

But at the same, I think it may be a thing to go in a patch because it sounds like a security improvement

@Grubba27 Grubba27 merged commit ba881a2 into release-2.9.1 Dec 19, 2022
@Grubba27 Grubba27 mentioned this pull request Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants