Missing space in username error

This commit is contained in:
Angus B. Grieve-Smith 2020-04-29 17:55:04 -04:00
parent 4942a1511f
commit f46d2f7802
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ else
// Check received data length (to prevent code injection) // Check received data length (to prevent code injection)
if (strlen($_POST['user']) > 15) if (strlen($_POST['user']) > 15)
{ {
echo 'Usernameis longer than 15 characters ... Please try again<br /><br />'; echo 'Username is longer than 15 characters ... Please try again<br /><br />';
echo 'Click <a href="./index.php">here</a> to come back to login page'; echo 'Click <a href="./index.php">here</a> to come back to login page';
} }
elseif (strlen($_POST['password']) > 50) elseif (strlen($_POST['password']) > 50)