mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-10 11:02:41 +00:00
check if pwd is passed in _POST
This commit is contained in:
parent
5641b5b067
commit
760da5e2b4
|
@ -50,9 +50,12 @@ if (!isset($login) || strlen($login)==0) {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
$pwd = (string) $_POST["pwd"];
|
$pwd = '';
|
||||||
if (get_magic_quotes_gpc()) {
|
if(isset($_POST['pwd'])) {
|
||||||
$pwd = stripslashes($pwd);
|
$pwd = (string) $_POST["pwd"];
|
||||||
|
if (get_magic_quotes_gpc()) {
|
||||||
|
$pwd = stripslashes($pwd);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$guestUser = $dms->getUser($settings->_guestID);
|
$guestUser = $dms->getUser($settings->_guestID);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user