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

FIX Users without CMS access are now able to log in correctly #212

Merged

Conversation

robbieaverill
Copy link
Contributor

@robbieaverill robbieaverill commented Jun 23, 2019

This fixes an issue that would continue to redirect the user to MFA after they logged in, ending up in a redirect loop. This patch checks whether it should redirect to MFA as well as checking if the registration is not complete yet before executing this logic.

Fixes #204

@NightJar
Copy link
Contributor

Code change seems fine, but there are test failures.

@robbieaverill robbieaverill self-assigned this Jun 24, 2019
This fixes an issue that would continue to redirect the user to MFA after they
logged in, ending up in a redirect loop. This patch checks whether it should
redirect to MFA as well as checking if the registration is not complete yet
before executing this logic.
@robbieaverill
Copy link
Contributor Author

Thanks, I've pushed a fix to ensure that the back URL is respected when this happens

@robbieaverill robbieaverill removed their assignment Jun 24, 2019
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.

Not being redirected to MFA on login
3 participants