summaryrefslogtreecommitdiff
path: root/plugins/LdapAuthentication/LdapAuthenticationPlugin.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-11-18 14:19:43 -0500
committerCraig Andrews <candrews@integralblue.com>2009-11-18 14:19:43 -0500
commitd07df8a7964e08d1af9e7bd762f2ac07035d9856 (patch)
tree954e19d9cd996e014ae69dd26ea885618ca7f9cd /plugins/LdapAuthentication/LdapAuthenticationPlugin.php
parent1d6bacc681eca89b7c20bb96fbacf5bcb8434d88 (diff)
Added Authorization plugin
Added LDAPAuthorization plugin
Diffstat (limited to 'plugins/LdapAuthentication/LdapAuthenticationPlugin.php')
-rw-r--r--plugins/LdapAuthentication/LdapAuthenticationPlugin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/LdapAuthentication/LdapAuthenticationPlugin.php b/plugins/LdapAuthentication/LdapAuthenticationPlugin.php
index 664529497..555dabf78 100644
--- a/plugins/LdapAuthentication/LdapAuthenticationPlugin.php
+++ b/plugins/LdapAuthentication/LdapAuthenticationPlugin.php
@@ -2,7 +2,7 @@
/**
* StatusNet, the distributed open-source microblogging tool
*
- * Plugin to enable LDAP Authentication and Authorization
+ * Plugin to enable LDAP Authentication
*
* PHP version 5
*
@@ -65,6 +65,7 @@ class LdapAuthenticationPlugin extends AuthenticationPlugin
}
if($this->password_changeable && (! isset($this->attributes['password']) || !isset($this->password_encoding))){
throw new Exception("if password_changeable is set, the password attribute and password_encoding must also be specified");
+ }
}
//---interface implementation---//