Assuming (since you have not posted any code) you are using the Laravel password reset logic/broker, straight from the config: https://github.com/laravel/laravel/blob/master/config/auth.php
config/auth.php you can modify the expiry for passwords there
/*
|--------------------------------------------------------------------------
| Resetting Passwords
|--------------------------------------------------------------------------
|
| You may specify multiple password reset configurations if you have more
| than one user table or model in the application and you want to have
| separate password reset settings based on the specific user types.
|
| The expire time is the number of minutes that each reset token will be
| considered valid. This security feature keeps tokens short-lived so
| they have less time to be guessed. You may change this as needed.
|
*/
'passwords' => [
'users' => [
'provider' => 'users',
'table' => 'password_resets',
'expire' => 60,
'throttle' => 60,
],
],
If you are using Fortify, you can see how they take care of the password reset here https://github.com/laravel/fortify/blob/1.x/src/Http/Controllers/PasswordResetLinkController.php#L41-L43