Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions core/Controller/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ public function tryLogin($user, $password, $redirect_url, $remember_login = true
if(!is_string($user)) {
throw new \InvalidArgumentException('Username must be string');
}
$user = trim($user);

// If the user is already logged in and the CSRF check does not pass then
// simply redirect the user to the correct page as required. This is the
Expand Down