Skip to content
Unverified Commit 74b1bf1d authored by Christoph Wurst's avatar Christoph Wurst
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 d851e587
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