nextcloud-server/core/Middleware
Christoph Wurst 22ebbba8e6 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: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-13 15:59:12 +07:00
..
TwoFactorMiddleware.php Fix setting up 2FA when no providers are set up but backup codes 2021-12-13 15:59:12 +07:00