diff --git a/registration.php b/registration.php index 00c403cd2..c9d1b7eb0 100644 --- a/registration.php +++ b/registration.php @@ -151,7 +151,7 @@ function validate($value) $registrationFailed = false; $hasErrors = false; if (isset($_POST['username'])) { - $username = validate(strtolower($_POST['username'])); + $username = validate($_POST['username']); $email = validate($_POST['email']); $password = $_POST['password']; $confirm_password = $_POST['confirm_password'];