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

Commit a4328232 authored by Nivesh Krishna's avatar Nivesh Krishna
Browse files

Merge branch 'dev/ldap-access' into 'main'

new func to return ldap access

See merge request !20
parents dd0bfd75 4e2f4db5
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -93,4 +93,12 @@ class LDAPConnectionService
    {
        ldap_close($conn);
    }

    public function getLDAPAccess()
    {
        if (!$this->access) {
            throw new Exception('Access not defined!');
        }
        return $this->access;
    }
}