Published on December 7, 2016
auth:clear-resets can be used to remove expired password reset tokens from the database. The command defines an optional
name parameter which can be used which password broker will be used when removing the expired reset tokens (by default the value of this is
users or whatever value is set for the
auth.defaults.passwords configuration entry).
The following are examples of how the
auth:clear-resets command can be called:
1php artisan auth:clear-resets2php artisan auth:clear-resets users
auth:clear-rests command will clear the expired password reset tokens in the
password_resets database table.
Published on April 15, 2018
Published on February 15, 2021
Published on April 22, 2018