mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-08 21:16:17 +09:00
use of global var fixed
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@501 860744bd-22fc-0310-8c96-e9fe5004b5ca
This commit is contained in:
1 parent
513963b7ad
commit
fddbfdbfa7
1 file changed
+1
-1
+1
-1
@@ -115,7 +115,7 @@ case 'login':
|
||||
/* --- end ldap section --- */
|
||||
|
||||
/* make entry in the transactions log */
|
||||
db_execute("insert into user_log (username,result,ip) values('$username',1,'" . $_SERVER["REMOTE_ADDR"] . "')");
|
||||
db_execute("insert into user_log (username,result,ip) values('" . $_POST["username"] . "',1,'" . $_SERVER["REMOTE_ADDR"] . "')");
|
||||
|
||||
/* set the php session */
|
||||
$_SESSION["sess_user_id"] = $user["id"];
|
||||
|
||||
Reference in new issue
Block a user