You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wrong format in ForgotPasswordManager.php:73 causing minutes value of expiring date to be fixed to the numeric representation of the current month.
According to PHP Docs the "m" format in this line stands for "Numeric representation of a month, with leading zeros" and should have been "i" instead which stands for "Minutes with leading zeros".
To Reproduce
Steps to reproduce the behavior:
Request a token.
Expected behavior
Creation of a new token that expires at current date + duration set in the package's config.
Screenshots
"expiredAt" before format -> "expiredAt" after format (expires_in is set to "1500 seconds" ).
Desktop (please complete the following information):
OS: Debian 12
Browser: Firefox
Version: 115.5.0esr
The text was updated successfully, but these errors were encountered:
Describe the bug
Wrong format in ForgotPasswordManager.php:73 causing minutes value of expiring date to be fixed to the numeric representation of the current month.
According to PHP Docs the "m" format in this line stands for "Numeric representation of a month, with leading zeros" and should have been "i" instead which stands for "Minutes with leading zeros".
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Creation of a new token that expires at current date + duration set in the package's config.
Screenshots
"expiredAt" before format -> "expiredAt" after format (expires_in is set to "1500 seconds" ).
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: