mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
users/login.php:
- use imported variables instead of $_POST git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1488 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
1 parent
c711467174
commit
e7ea1f167e
1 file changed
+1
-1
+1
-1
@@ -43,7 +43,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
|
||||
}
|
||||
|
||||
$h = new MailboxHandler();
|
||||
if($h->login($_POST['fUsername'], $_POST['fPassword'])) {
|
||||
if($h->login($fUsername, $fPassword)) {
|
||||
session_regenerate_id();
|
||||
$_SESSION['sessid'] = array();
|
||||
$_SESSION['sessid']['roles'] = array();
|
||||
|
||||
Reference in new issue
Block a user