Fix recaptcha handling during login & password reset flows; closes #2064

This commit is contained in:
Dane Everitt 2020-08-01 21:08:35 -07:00
parent dd381f65a9
commit b52fc0b4d9
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
7 changed files with 131 additions and 136 deletions

View file

@ -26,7 +26,7 @@ Route::group(['middleware' => 'guest'], function () {
// Password reset routes. This endpoint is hit after going through
// the forgot password routes to acquire a token (or after an account
// is created).
Route::post('/password/reset', 'ResetPasswordController')->name('auth.reset-password')->middleware('recaptcha');
Route::post('/password/reset', 'ResetPasswordController')->name('auth.reset-password');
// Catch any other combinations of routes and pass them off to the Vuejs component.
Route::fallback('LoginController@index');