Skip to content
Commit e4011bc3 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 a31ee8d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment