[Legacy] Fix login after reset password

This commit is contained in:
Jack Anderson 2024-11-21 13:56:31 +00:00
parent af556fdcae
commit 1ad358c392
2 changed files with 4 additions and 1 deletions

View file

@ -136,6 +136,9 @@ if (!empty($_REQUEST['guid']) && !empty($_REQUEST['key'])) {
}
} else {
$redirect = false;
if ($_REQUEST['redirect'] === '1') {
$redirect = true;
}
}
} else {
$query2 = "UPDATE users_password_link SET deleted='1' where id='" . $db->quote($_REQUEST['guid']) . "'";