force to lower on login and sign up

This commit is contained in:
Varakh 2017-05-04 13:44:51 +02:00
parent 121f4c4449
commit 585faa0f8e

View file

@ -48,7 +48,7 @@ final class SignUpAction
return $response->withRedirect('signup');
}
$username = $body['username'];
$username = trim(strtolower($body['username']));
$email = trim(strtolower($body['email']));
$password = $body['password'];