From 9a5bb49f52f80f2151b9473f0916f9ba7b39c1f6 Mon Sep 17 00:00:00 2001 From: "SWG: Resurgence" <52303455+swgresurgence@users.noreply.github.com> Date: Mon, 9 Sep 2019 18:49:00 -0500 Subject: [PATCH] Fixed bug with logging. Removed decode check for ip and stationID. --- html/auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/auth.php b/html/auth.php index 3cf4d13..d3985a2 100644 --- a/html/auth.php +++ b/html/auth.php @@ -43,8 +43,8 @@ function checkhashSSHA($salt, $password) { $username = $mysqli->real_escape_string($_POST['user_name']); $password = $mysqli->real_escape_string($_POST['user_password']); -$ip = urldecode($_POST['ip']); -$suid = urldecode($_POST['stationID']); +$ip = $_POST['ip']; +$suid = $_POST['stationID']; $user = getUserByEmailAndPassword($username, $password); // #######################################################################