File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public function map()
4141 ->namespace ($ this ->namespace . '\Admin ' )
4242 ->group (base_path ('routes/admin.php ' ));
4343
44- Route::middleware (['web ' , 'guest ' , ' csrf ' ])->prefix ('/auth ' )
44+ Route::middleware (['web ' , 'csrf ' ])->prefix ('/auth ' )
4545 ->namespace ($ this ->namespace . '\Auth ' )
4646 ->group (base_path ('routes/auth.php ' ));
4747
Original file line number Diff line number Diff line change 1717 'request_reset ' => 'Locate Account ' ,
1818 '2fa_required ' => '2-Factor Authentication ' ,
1919 '2fa_failed ' => 'The 2FA token provided was invalid. ' ,
20+ 'totp_failed ' => 'There was an error while attempting to validate TOTP. ' ,
2021];
Original file line number Diff line number Diff line change 2222 * SOFTWARE.
2323 */
2424
25- Route::get ('/logout ' , 'LoginController@logout ' )->name ('auth.logout ' );
25+ Route::get ('/logout ' , 'LoginController@logout ' )->name ('auth.logout ' )-> middleware ( ' auth ' ) ;
2626Route::get ('/login ' , 'LoginController@showLoginForm ' )->name ('auth.login ' );
2727Route::get ('/login/totp ' , 'LoginController@totp ' )->name ('auth.totp ' );
2828Route::get ('/password ' , 'ForgotPasswordController@showLinkRequestForm ' )->name ('auth.password ' );
2929Route::get ('/password/reset/{token} ' , 'ForgotPasswordController@showResetForm ' )->name ('auth.reset ' );
3030
3131Route::post ('/login ' , 'LoginController@login ' )->middleware ('recaptcha ' );
32- Route::post ('/login ' , 'LoginController@totpCheckpoint ' );
32+ Route::post ('/login/totp ' , 'LoginController@totpCheckpoint ' );
3333Route::post ('/password/reset ' , 'ResetPasswordController@reset ' )->name ('auth.reset.post ' )->middleware ('recaptcha ' );
3434Route::post ('/password/reset/{token} ' , 'ForgotPasswordController@sendResetLinkEmail ' )->middleware ('recaptcha ' );
You can’t perform that action at this time.
0 commit comments