Skip to content
Commit 22ebbba8 authored by Christoph Wurst's avatar Christoph Wurst Committed by backportbot[bot]
Browse files

Fix setting up 2FA when no providers are set up but backup codes



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: default avatarChristoph Wurst <christoph@winzerhof-wurst.at>
parent dffe146f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment