diff --git a/auth/ldap/auth.php b/auth/ldap/auth.php index 8904224461a..5e8741afe65 100644 --- a/auth/ldap/auth.php +++ b/auth/ldap/auth.php @@ -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))