Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3feed4d6 authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽
Browse files

fix: php-lint issue

parent 26442172
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);