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

Commit 9215e21a authored by Ronak Patel's avatar Ronak Patel
Browse files

changes as per suggestions

parent 85a55704
Loading
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -522,11 +522,7 @@ class UserService {
	}
	public function mapActiveAttributesInLDAP(string $username, bool $isEnabled): void {
		$userActiveAttributes = $this->getActiveAttributes($isEnabled);
		try {
		$this->updateAttributesInLDAP($username, $userActiveAttributes);
		} catch (Exception $e) {
			$this->logger->logException('Failed to update LDAP attributes for user: ' . $username, ['exception' => $e]);
		}
	}
	private function getActiveAttributes(bool $isEnabled): array {
		return [