mirror of
https://github.com/WhatCD/Gazelle.git
synced 2024-12-13 02:46:30 +00:00
Empty commit
This commit is contained in:
parent
2310093877
commit
fc62722ff9
@ -33,13 +33,14 @@
|
||||
$DB->query("SELECT
|
||||
m.ID,
|
||||
m.Email,
|
||||
m.ipcc,
|
||||
i.ResetExpires
|
||||
FROM users_main AS m
|
||||
INNER JOIN users_info AS i ON i.UserID=m.ID
|
||||
WHERE i.ResetKey='".db_string($_REQUEST['key'])."'
|
||||
AND i.ResetKey<>''
|
||||
AND m.Enabled='1'");
|
||||
list($UserID,$Email,$Expires)=$DB->next_record();
|
||||
list($UserID,$Email,$Country,$Expires)=$DB->next_record();
|
||||
|
||||
if ($UserID && strtotime($Expires)>time()) {
|
||||
// If the user has requested a password change, and his key has not expired
|
||||
@ -63,6 +64,7 @@
|
||||
WHERE m.ID='".db_string($UserID)."'
|
||||
AND i.UserID=m.ID");
|
||||
$Reset = true; // Past tense form of "to reset", meaning that password has now been reset
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user