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

[1.x] Fix two factor form without user #233

Merged
merged 4 commits into from
Mar 5, 2021
Merged

Conversation

driesvints
Copy link
Member

@driesvints driesvints commented Mar 5, 2021

This PR fixes an issue where the two factor form could still be displayed even though there's no user on session. This fix forces the controller to redirect to the login screen before the user can use the two factor view.

This PR unfortunately contains breaking changes to the method signature of the create method.

Fixes #231

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.

Redirect 2fa challenge route if accessed directly
2 participants