Fix login routes
This commit is contained in:
parent
5927e0e12a
commit
e5f3678c62
3 changed files with 4 additions and 3 deletions
|
@ -22,13 +22,13 @@
|
|||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
Route::get('/logout', 'LoginController@logout')->name('auth.logout');
|
||||
Route::get('/logout', 'LoginController@logout')->name('auth.logout')->middleware('auth');
|
||||
Route::get('/login', 'LoginController@showLoginForm')->name('auth.login');
|
||||
Route::get('/login/totp', 'LoginController@totp')->name('auth.totp');
|
||||
Route::get('/password', 'ForgotPasswordController@showLinkRequestForm')->name('auth.password');
|
||||
Route::get('/password/reset/{token}', 'ForgotPasswordController@showResetForm')->name('auth.reset');
|
||||
|
||||
Route::post('/login', 'LoginController@login')->middleware('recaptcha');
|
||||
Route::post('/login', 'LoginController@totpCheckpoint');
|
||||
Route::post('/login/totp', 'LoginController@totpCheckpoint');
|
||||
Route::post('/password/reset', 'ResetPasswordController@reset')->name('auth.reset.post')->middleware('recaptcha');
|
||||
Route::post('/password/reset/{token}', 'ForgotPasswordController@sendResetLinkEmail')->middleware('recaptcha');
|
||||
|
|
Reference in a new issue