Empty commit

This commit is contained in:
Git 2012-08-21 08:00:17 +00:00
parent 2310093877
commit fc62722ff9

View File

@ -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
}
}