Added throttling to password reset token form

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-06-21 19:30:11 -07:00
parent 57720cb978
commit b00db3cc56

View file

@ -438,7 +438,7 @@ Route::group(['middleware' => 'web'], function () {
Route::get(
'password/reset',
[ForgotPasswordController::class, 'showLinkRequestForm']
)->name('password.request');
)->name('password.request')->middleware('throttle:'.config('auth.password_reset.throttle.max_attempts').','.config('auth.password_reset.throttle.lockout_duration'));
Route::post(