Skip to content

Commit 44fc962

Browse files
authored
Merge pull request #18135 from nextcloud/fix/trim-login-name
Trim the login name
2 parents 7347272 + 81e35d0 commit 44fc962

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/Controller/LoginController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ public function tryLogin(string $user,
289289

290290
$data = new LoginData(
291291
$this->request,
292-
$user,
292+
trim($user),
293293
$password,
294294
$redirect_url,
295295
$timezone,

0 commit comments

Comments
 (0)