Я буду ВНИМАТЕЛЬНО проверять код перед коммитом!
This commit is contained in:
parent
807ee64890
commit
447a3bc196
@ -68,7 +68,7 @@ if ($username_upd && $password_upd) {
|
|||||||
db::c()->query('UPDATE `users` SET `pass` = "?s" WHERE `login` = "?s"', password_hash($password_upd, PASSWORD_DEFAULT), $username_upd);
|
db::c()->query('UPDATE `users` SET `pass` = "?s" WHERE `login` = "?s"', password_hash($password_upd, PASSWORD_DEFAULT), $username_upd);
|
||||||
header("Location: index.php");
|
header("Location: index.php");
|
||||||
} else {
|
} else {
|
||||||
$error = 'Ошибка!'
|
$error = 'Ошибка!';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user