Loading lib/Service/SSOService.php +1 −1 Original line number Diff line number Diff line Loading @@ -175,7 +175,7 @@ class SSOService { throw new SSOAdminAPIException('Error: no user found for search with url: ' . $url); } $this->currentUserId = $users[0]['id']; $this->currentUserName = $this->sanitizeUserName(users[0]['username']); $this->currentUserName = $this->sanitizeUserName($users[0]['username']); $username = $this->sanitizeUserName($username); if ($username !== $this->currentUserName) { throw new SSOAdminAPIException('Error: retrieved wrong user info (' . $this->currentUserName . ') from SSO service for ' . $username); Loading Loading
lib/Service/SSOService.php +1 −1 Original line number Diff line number Diff line Loading @@ -175,7 +175,7 @@ class SSOService { throw new SSOAdminAPIException('Error: no user found for search with url: ' . $url); } $this->currentUserId = $users[0]['id']; $this->currentUserName = $this->sanitizeUserName(users[0]['username']); $this->currentUserName = $this->sanitizeUserName($users[0]['username']); $username = $this->sanitizeUserName($username); if ($username !== $this->currentUserName) { throw new SSOAdminAPIException('Error: retrieved wrong user info (' . $this->currentUserName . ') from SSO service for ' . $username); Loading