We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 56528c6 + 2dd531f commit 05f4047Copy full SHA for 05f4047
1 file changed
core/Controller/LoginController.php
@@ -284,6 +284,7 @@ public function tryLogin($user, $password, $redirect_url, $remember_login = true
284
if(!is_string($user)) {
285
throw new \InvalidArgumentException('Username must be string');
286
}
287
+ $user = trim($user);
288
289
// If the user is already logged in and the CSRF check does not pass then
290
// simply redirect the user to the correct page as required. This is the
0 commit comments