fuxing up the repository log :D another merge to try to log faulty logins

This commit is contained in:
oyvinbak committed 2011-02-22 12:49:36 +01:00
commit 5311e4f00d
1 file changed
+1 -1
+1 -1
View File
@@ -616,7 +616,7 @@ class ActionParser {
$error = "user not found..";
}
$sql = sprintf("INSERT INTO `inside_auth_log`(`username`, `password`,`error`) VALUES(%s,%s,%s)",$conn->quoteSmart(scriptParam('username')), $passwordExists, $error);
$sql = sprintf("INSERT INTO `inside_auth_log`(`username`, `password`,`error`) VALUES(%s,%s,%s)",$conn->quoteSmart(scriptParam('username')), $conn->quoteSmart($passwordExists), $conn->quoteSmart($error));
$conn->query($sql);
}
catch(Exception $e)