]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10068 "Lost Password" button does not work for ldap auth
authorskodak <skodak>
Sun, 10 Jun 2007 19:26:12 +0000 (19:26 +0000)
committerskodak <skodak>
Sun, 10 Jun 2007 19:26:12 +0000 (19:26 +0000)
auth/ldap/auth.php

index c5db12b289d619b552a9649c5223f06e06d3b2b9..95f6a61b667f32a3173f1bececc2f094eb6ccb9b 100644 (file)
@@ -324,6 +324,10 @@ class auth_plugin_ldap extends auth_plugin_base {
 
     }
 
+    function can_reset_password() {
+        return !empty($this->config->stdchangepassword);
+    }
+
     function can_signup() {
         return (!empty($this->config->auth_user_create) and !empty($this->config->create_context));
     }