Перенос разрозненных файлов в фабрику. Утилизация неиспользуемых функций. #49
This commit is contained in:
@@ -62,7 +62,7 @@ if (isset($_POST['relogin'])) {
|
||||
|
||||
if ($mail === 1) {
|
||||
Db::sql(
|
||||
'update users set securetime = unix_timestamp(), allLock = unix_timestamp(), pass = ? where id = ?',
|
||||
'update users set securetime = unix_timestamp(), pass = ? where id = ?',
|
||||
[password_hash($newPassword, PASSWORD_DEFAULT), $usr['id']]
|
||||
);
|
||||
Db::sql(
|
||||
|
||||
Reference in New Issue
Block a user