Fix login redirection if only one 2FA provider is active
Fixes https://github.com/nextcloud/server/issues/10500 . Signed-off-by:Christoph Wurst <christoph@winzerhof-wurst.at>
Showing
- core/Controller/LoginController.php 1 addition, 1 deletioncore/Controller/LoginController.php
- lib/private/Authentication/TwoFactorAuth/ProviderSet.php 11 additions, 0 deletionslib/private/Authentication/TwoFactorAuth/ProviderSet.php
- tests/Core/Controller/LoginControllerTest.php 6 additions, 5 deletionstests/Core/Controller/LoginControllerTest.php
- tests/lib/Authentication/TwoFactorAuth/ProviderSetTest.php 18 additions, 0 deletionstests/lib/Authentication/TwoFactorAuth/ProviderSetTest.php
Loading
Please register or sign in to comment