1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-27 06:01:54 +03:00

Updated the login redirect logic to ignore mfa routes

This commit is contained in:
Dan Brown
2021-08-31 20:54:43 +01:00
parent bee5e2c7ca
commit 9eb65dcd78
2 changed files with 29 additions and 8 deletions

View File

@ -53,7 +53,6 @@ class MfaBackupCodesController extends Controller
if (!auth()->check()) {
$this->showSuccessNotification(trans('auth.mfa_setup_login_notification'));
return redirect('/login');
}