-
Notifications
You must be signed in to change notification settings - Fork 9
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
Show qr on challenge page if not configured for the user #292
Conversation
f59a995
to
959c170
Compare
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.
would be good if you add comments to the code. it is not obvious this is used to enforce 2fa if needed
Kudos, SonarCloud Quality Gate passed! |
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.
Looks good - only one tiny comment change, so don't bother fixing that unless there are other things that need changing.
// If 2-factor is enforced, the challenge page will be accessed | ||
// regardless of the user having configured the app or not. | ||
// If the user doesn't have the app configured, we need to show | ||
// the QR so the user is able to configured the app from the |
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.
// the QR so the user is able to configured the app from the | |
// the QR so the user is able to configure the app from the |
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.
clarify
Related https://github.com/owncloud/enterprise/issues/5219