Add the option to override password reset token duration #54200
Unanswered
andrewpitts15
asked this question in
Ideas
Replies: 1 comment 2 replies
-
https://github.com/laravel/framework/blob/11.x/config/auth.php#L97 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In our application, new user accounts are created by administrators and we send these new users a welcome email containing a password reset token. Unfortunately, these expire within 60 minutes and a lot of the time the user hasn't seen the email before the token expires.
We would like to keep the expiry at 60 minutes for standard password resets initiated by the user for security purposes so it would be good if there was a way to override this for individual tokens or to define different token types with different expiries in the config.
Beta Was this translation helpful? Give feedback.
All reactions