mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-09-04 10:14:13 +08:00
[Legacy] Fix login after reset password
This commit is contained in:
parent
af556fdcae
commit
1ad358c392
2 changed files with 4 additions and 1 deletions
|
@ -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']) . "'";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue