Fixed copy&paste error. Credit goes to Sergio Rabellino.
authorstronk7 <stronk7>
Thu, 7 Aug 2008 17:10:28 +0000 (17:10 +0000)
committerstronk7 <stronk7>
Thu, 7 Aug 2008 17:10:28 +0000 (17:10 +0000)
http://moodle.org/mod/forum/discuss.php?d=102933 ; merged from HEAD

auth/ldap/auth.php

index 8904224461a128633730bee8e3ed82a672b05ff5..5e8741afe6503eb247a18074d4fb0bd36860a379 100644 (file)
@@ -1918,7 +1918,7 @@ class auth_plugin_ldap extends auth_plugin_base {
         if (!isset($config->forcechangepassword))
             {$config->forcechangepassword = 0; }
         if (!isset($config->stdchangepassword))
-            {$config->forcechangepassword = 0; }
+            {$config->stdchangepassword = 0; }
         if (!isset($config->passtype))
             {$config->passtype = 'plaintext'; }
         if (!isset($config->changepasswordurl))