errors fix
This commit is contained in:
parent
e568dfb576
commit
985f1739ae
@ -34,6 +34,7 @@ if ($login) {
|
||||
} else $statusMessage = 'Ошибка: имя пользователя не существует!';
|
||||
}
|
||||
|
||||
$allowChange = false;
|
||||
$changePassword = filter_input(INPUT_GET, 'change');
|
||||
if ($changePassword) {
|
||||
if (db::c()->query('SELECT 1 FROM `confirmpasswd` WHERE `hash` = "?s" AND `date` = "?s"', $changePassword, date('Y-m-d'))->getNumRows())
|
||||
|
Loading…
Reference in New Issue
Block a user