We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ac4d47 commit 78d9462Copy full SHA for 78d9462
main/inc/lib/usermanager.lib.php
@@ -7770,6 +7770,9 @@ public static function redirectToResetPassword($userId)
7770
} else {
7771
$now = new \DateTime(null, new DateTimeZone('UTC'));
7772
// In some cases, old records might contain an incomplete Y-m-d H:i:s format
7773
+ if (strlen($lastUpdate['password_updated_at']) == 10) {
7774
+ $lastUpdate['password_updated_at'] .= ' 00:00:00';
7775
+ }
7776
if (strlen($lastUpdate['password_updated_at']) == 16) {
7777
$lastUpdate['password_updated_at'] .= ':00';
7778
}
0 commit comments