From 4225d4ba3ab75eeed4778c8896109ba7024e5c4f Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 10 Jun 2007 19:26:12 +0000 Subject: [PATCH] MDL-10068 "Lost Password" button does not work for ldap auth --- auth/ldap/auth.php | 4 ++++ 1 file changed, 4 insertions(+) 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)); } -- 2.39.5