mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 23:42:11 +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;
|
||||
}
|
||||
|
||||
$pwd = (string) $_POST["pwd"];
|
||||
if (get_magic_quotes_gpc()) {
|
||||
$pwd = stripslashes($pwd);
|
||||
$pwd = '';
|
||||
if(isset($_POST['pwd'])) {
|
||||
$pwd = (string) $_POST["pwd"];
|
||||
if (get_magic_quotes_gpc()) {
|
||||
$pwd = stripslashes($pwd);
|
||||
}
|
||||
}
|
||||
|
||||
$guestUser = $dms->getUser($settings->_guestID);
|
||||
|
|
Loading…
Reference in New Issue
Block a user