mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Added throttling to password reset token form
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
57720cb978
commit
b00db3cc56
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue