From 4011aeaa690c0c7123c2ba8918edc292c376f2a1 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Mon, 17 Apr 2017 20:30:42 -0400 Subject: [PATCH] Fix password reset form not displaying correctly, closes #380 --- routes/auth.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routes/auth.php b/routes/auth.php index 46de5a1b..256fd645 100644 --- a/routes/auth.php +++ b/routes/auth.php @@ -25,9 +25,10 @@ Route::get('/logout', 'LoginController@logout')->name('auth.logout')->middleware 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::get('/password/reset/{token}', 'ResetPasswordController@showResetForm')->name('auth.reset'); Route::post('/login', 'LoginController@login')->middleware('recaptcha'); Route::post('/login/totp', 'LoginController@totpCheckpoint'); +Route::post('/password', 'ForgotPasswordController@sendResetLinkEmail')->middleware('recaptcha'); Route::post('/password/reset', 'ResetPasswordController@reset')->name('auth.reset.post')->middleware('recaptcha'); Route::post('/password/reset/{token}', 'ForgotPasswordController@sendResetLinkEmail')->middleware('recaptcha');