mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -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(
|
Route::get(
|
||||||
'password/reset',
|
'password/reset',
|
||||||
[ForgotPasswordController::class, 'showLinkRequestForm']
|
[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(
|
Route::post(
|
||||||
|
|
Loading…
Reference in a new issue