password.expire updated for forgotten password token expiration

This commit is contained in:
snipe 2020-11-02 23:58:09 -08:00
parent 410c99da17
commit b29f794b35
2 changed files with 3 additions and 1 deletions

View file

@ -125,6 +125,7 @@ PRIVATE_AWS_BUCKET_ROOT=null
# --------------------------------------------
LOGIN_MAX_ATTEMPTS=5
LOGIN_LOCKOUT_DURATION=60
RESET_PASSWORD_LINK_EXPIRES=900
# --------------------------------------------
# OPTIONAL: MISC

View file

@ -102,7 +102,7 @@ return [
'provider' => 'users',
'email' => 'auth.emails.password',
'table' => 'password_resets',
'expire' => env('LOGIN_LOCKOUT_DURATION', 60),
'expire' => env('RESET_PASSWORD_LINK_EXPIRES', 900),
'throttle' => env('LOGIN_MAX_ATTEMPTS', 60),
],
],
@ -120,4 +120,5 @@ return [
'password_timeout' => 10800,
];