Skip to content

Conversation

@ChristophWurst
Copy link
Member

2FA set up is allowed when only backup codes are set up but no other
provider and no provider is failing.

This patch syncs up the login controller check with the challenge
controller check 10 lines above.

Fixes nextcloud/twofactor_totp#1160

Side effect/regression of #28078

2FA set up is allowed when only backup codes are set up but no other
provider and no provider is failing.

This patch syncs up the login controller check with the challenge
controller check 10 lines above.

Signed-off-by: Christoph Wurst <[email protected]>
@ChristophWurst ChristophWurst merged commit f287be5 into master Dec 13, 2021
@ChristophWurst ChristophWurst deleted the fix/set-up-2fa-no-providers-but-backup-codes branch December 13, 2021 15:05
@ChristophWurst
Copy link
Member Author

/backport to stable22

@ChristophWurst
Copy link
Member Author

/backport to stable23

@ChristophWurst
Copy link
Member Author

/backport to stable21

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.

Forced TOTP setup not working if backup codes are set

4 participants