From e8252b8d4dd7acdcc09030c12dcc00729af16dc6 Mon Sep 17 00:00:00 2001 From: Ivor Barhansky Date: Thu, 12 Jan 2023 05:31:22 +0200 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=B0=D1=82=D1=8B=20=D1=80=D0=BE=D0=B6?= =?UTF-8?q?=D0=B4=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BD=D0=B5=20=D1=81=D0=BE?= =?UTF-8?q?=D0=B2=D0=BF=D0=B0=D0=B4=D0=B0=D0=BB=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- repass.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repass.php b/repass.php index be043766..37b2a1c2 100644 --- a/repass.php +++ b/repass.php @@ -37,7 +37,7 @@ if (isset($_POST['relogin'])) { if ($lst_psw) { $error = 'Высылать пароль можно не более одного раза в сутки.'; } elseif ( - str_replace('0', '', $_POST['redate']) == str_replace('0', '', $usr['bithday']) + str_replace('0', '', date('d.m.Y', strtotime($_POST['redate']))) == str_replace('0', '', $usr['bithday']) ) { $error = '


Пароль от персонажа "' . $usr['login'] . '" был успешно выслан на E-mail указанный при регистрации!


'; $re = Db::getValue( @@ -45,7 +45,7 @@ if (isset($_POST['relogin'])) { [$usr['id'], ''] ); - if ($u['securetime'] < Config::get('securetime')) { + if ($usr['securetime'] < Config::get('securetime')) { unset($re); } if (!isset($re)) {