diff --git a/rememberpassword.php b/rememberpassword.php index f9f93db..0ef9617 100644 --- a/rememberpassword.php +++ b/rememberpassword.php @@ -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())