From f5be505220f3d09ec055fc10d8a4bd612a621701 Mon Sep 17 00:00:00 2001 From: Dorian Lecoeur Date: Mon, 29 Jul 2024 13:23:12 +0200 Subject: [PATCH] username input on registration page doesn't match login page (#469) Co-authored-by: dlecoeur --- registration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];