mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
- no need to sanitize password hash anymore
This commit is contained in:
parent
79a49fe87d
commit
f85c5f9ebb
|
@ -38,13 +38,13 @@ function _printMessage($heading, $message) {
|
|||
}
|
||||
|
||||
if (isset($_POST["hash"])) {
|
||||
$hash = sanitizeString($_POST["hash"]);
|
||||
$hash = $_POST["hash"];
|
||||
}
|
||||
if (isset($_POST["newpassword"])) {
|
||||
$newpassword = sanitizeString($_POST["newpassword"]);
|
||||
$newpassword = $_POST["newpassword"];
|
||||
}
|
||||
if (isset($_POST["newpasswordrepeat"])) {
|
||||
$newpasswordrepeat = sanitizeString($_POST["newpasswordrepeat"]);
|
||||
$newpasswordrepeat = $_POST["newpasswordrepeat"];
|
||||
}
|
||||
|
||||
if (empty($newpassword) || empty($newpasswordrepeat) || $newpassword != $newpasswordrepeat) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user