Skip to content
Commits on Source (2)
......@@ -115,7 +115,7 @@
array_pop($s);
$username = implode("@",$s);
}
$username = strtolower();
$username = strtolower($username);
$authResult = authCheck($authd,$username);
//If they gave a good login
......@@ -125,7 +125,7 @@
$cip = $_SERVER['REMOTE_ADDR'];
$time = time();
sqlite3Exec("DELET FROM gamers WHERE username='$username'");
sqlite3Exec("INSERT INTO gamers (username,sessionid,IP,authd,lastseen) VALUES ('$authdUser','$sessionid','$cip','$authd','$time')");
sqlite3Exec("INSERT INTO gamers (username,sessionid,IP,authd,lastseen) VALUES ('$username','$sessionid','$cip','$authd','$time')");
}
//Return the authResult
......