mirror of
https://github.com/grokability/snipe-it.git
synced 2026-03-12 17:52:00 +08:00
Set higher threshhold, moved throttle settings
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
@@ -101,13 +101,21 @@ return [
|
||||
'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),
|
||||
]
|
||||
|
||||
],
|
||||
],
|
||||
|
||||
|
||||
'password_reset' => [
|
||||
'throttle' => [
|
||||
'max_attempts' => env('PASSWORD_MAX_ATTEMPTS', 10),
|
||||
'lockout_duration' => env('PASSWORD_LOCKOUT_DURATION', 60),
|
||||
],
|
||||
],
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Password Confirmation Timeout
|
||||
|
||||
Reference in New Issue
Block a user