From: skodak Date: Sun, 10 Jun 2007 19:26:12 +0000 (+0000) Subject: MDL-10068 "Lost Password" button does not work for ldap auth X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4225d4ba3ab75eeed4778c8896109ba7024e5c4f;p=moodle.git MDL-10068 "Lost Password" button does not work for ldap auth --- diff --git a/auth/ldap/auth.php b/auth/ldap/auth.php index c5db12b289..95f6a61b66 100644 --- a/auth/ldap/auth.php +++ b/auth/ldap/auth.php @@ -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)); }