Skip to content

Commit

Permalink
username input on registration page doesn't match login page (#469)
Browse files Browse the repository at this point in the history
Co-authored-by: dlecoeur <[email protected]>
  • Loading branch information
dozGrou and dlecoeur authored Jul 29, 2024
1 parent ae0ae02 commit f5be505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit f5be505

Please sign in to comment.