summaryrefslogtreecommitdiff
path: root/plugins/Ldap/LdapPlugin.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-11-10 06:44:53 -0800
committerBrion Vibber <brion@pobox.com>2009-11-10 06:44:53 -0800
commit333c376c955fd2513ea168d712223f033db73356 (patch)
tree371f4e8399aa0ea44f2d30ae11d7d777ed812ee9 /plugins/Ldap/LdapPlugin.php
parent088081675fb7d5250a9b9dfe5015de0822cb5ac2 (diff)
parent069d3f2b2f912f2e7d2289bc58270341c9b1ecc5 (diff)
Merge remote branch 'statusnet/0.9.x' into 0.9.x
Diffstat (limited to 'plugins/Ldap/LdapPlugin.php')
-rw-r--r--plugins/Ldap/LdapPlugin.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/Ldap/LdapPlugin.php b/plugins/Ldap/LdapPlugin.php
index 755562f54..3795ffd7f 100644
--- a/plugins/Ldap/LdapPlugin.php
+++ b/plugins/Ldap/LdapPlugin.php
@@ -102,4 +102,15 @@ class LdapPlugin extends Plugin
//return false, indicating that the event has been handled
return false;
}
+
+ function onCanUserChangeField($nickname, $field)
+ {
+ switch($field)
+ {
+ case 'password':
+ case 'nickname':
+ case 'email':
+ return false;
+ }
+ }
}