Remove spaces from username in login.php, remove pinglogin

This commit is contained in:
Skylar Ittner 2016-10-04 01:44:07 -06:00
parent affc1d863b
commit 0565418731
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ if (is_empty($VARS['pass'])) {
sendError("Missing password.", true); sendError("Missing password.", true);
} }
$VARS['user'] = str_replace(" ", "", $VARS['user']);
/* Insert code to check login here, it should return "OK" or an error string */ /* Insert code to check login here, it should return "OK" or an error string */
/* ------------------------------- */ /* ------------------------------- */