If you create a user without password or use the password reset function, the user gets a mail with the reset link.
This link expires after 24h:
"Couldn't reset password because the token is expired"
For a password reset requested by the user, this is no problem, because the user normally uses the link after request.
But if you create a new user on friday and the user accesses the link on monday, this is a problem.
Why not just add a button to the password expired error, where the user can request a new reset link?
If you create a user without password or use the password reset function, the user gets a mail with the reset link.
This link expires after 24h:
"Couldn't reset password because the token is expired"
For a password reset requested by the user, this is no problem, because the user normally uses the link after request.
But if you create a new user on friday and the user accesses the link on monday, this is a problem.
Why not just add a button to the password expired error, where the user can request a new reset link?