Some query optimisations

This commit is contained in:
Stefan Brannfjell
2014-03-08 15:31:47 +01:00
parent 470bf6caa6
commit 7861292449
11 changed files with 48 additions and 46 deletions

View File

@@ -9,7 +9,7 @@ if (empty($_POST) === false) {
}
$username = $_POST['username'];
$password = $_POST['password'];
data_dump($_POST, false, "POST");
//data_dump($_POST, false, "POST");
if (empty($username) || empty($password)) {
$errors[] = 'You need to enter a username and password.';
} else if (strlen($username) > 32 || strlen($password) > 64) {