diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-11-23 19:58:43 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-11-23 19:58:43 +0100 |
commit | 4c5e7d270ae81c341195d47055aadabbb761b84c (patch) | |
tree | 68611ba0c21e97822f5aafe7e5c350313d326a26 /apps/user_ldap/lib/Access.php | |
parent | 861c8572c03ba577ca89e1f9e88ab108cfafdf49 (diff) | |
download | nextcloud-server-4c5e7d270ae81c341195d47055aadabbb761b84c.tar.gz nextcloud-server-4c5e7d270ae81c341195d47055aadabbb761b84c.zip |
Add tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/user_ldap/lib/Access.php')
-rw-r--r-- | apps/user_ldap/lib/Access.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php index f06f76bb910..d88378c1888 100644 --- a/apps/user_ldap/lib/Access.php +++ b/apps/user_ldap/lib/Access.php @@ -226,9 +226,12 @@ class Access extends LDAPUtility implements IUserTools { /** * Set password for an LDAP user identified by a DN + * * @param string $userDN the user in question * @param string $password the new password * @return bool + * @throws HintException + * @throws \Exception */ public function setPassword($userDN, $password) { if(intval($this->connection->turnOnPasswordChange) !== 1) { |