From 791f77f6417d649fd846e29732383db45e6e3bf7 Mon Sep 17 00:00:00 2001 From: snipe Date: Tue, 21 Jun 2022 18:41:12 -0700 Subject: [PATCH] Fixed throttle variables Signed-off-by: snipe --- config/auth.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config/auth.php b/config/auth.php index 4fc626a964..8fb4d3e6fd 100644 --- a/config/auth.php +++ b/config/auth.php @@ -98,10 +98,12 @@ return [ 'email' => 'auth.emails.password', 'table' => 'password_resets', 'expire' => env('RESET_PASSWORD_LINK_EXPIRES', 900), - 'throttle' => 60, + 'throttle' => [ 'max_attempts' => env('LOGIN_MAX_ATTEMPTS', 5), - 'lockout_duration' => env('LOGIN_LOCKOUT_DURATION', 60), + 'password_max_attempts' => env('PASSWORD_MAX_ATTEMPTS', 20), + 'password_lockout_duration' => env('PASSWORD_LOCKOUT_DURATION', 60), + ] ], ],