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

Secret key is only shown in user -> personal -> security context but not at first login with enforced 2FA #316

Closed
dn1s opened this issue Feb 1, 2024 · 1 comment

Comments

@dn1s
Copy link

dn1s commented Feb 1, 2024

When I enforce two-factor authentication to all users in admin -> security and login for the first time I'm only presented with a QR code. Which works if you have an app which can scan qr codes but if you don't have a mobile phone and would need the secret key for your 2fa to work you are locked out basically. My suggestion is that when a user is first successfully login in we present the user with a qr code and secret. My php skills are quite bad but I managed to add the secret key to the login form like this:

owncloud_topt

@dn1s
Copy link
Author

dn1s commented May 15, 2024

This can be done with overwriting challenge.php in a custom theme: owncloud/docs#1338
I'll close this issue since it's resolved for me

@dn1s dn1s closed this as completed May 15, 2024
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

No branches or pull requests

1 participant