diff --git a/user/edit.html b/user/edit.html index 4c7ca64d922..b03374f60a0 100644 --- a/user/edit.html +++ b/user/edit.html @@ -68,7 +68,7 @@ if (isadmin()) { } echo ""; echo "\n"; - if (!$adminself && (!empty($CFG->{'auth_'.$user->auth.'_stdchangepassword'}) || $CFG->changepassword)){ + if (!$adminself && (!empty($CFG->{'auth_'.$user->auth.'_stdchangepassword'}) || is_internal_auth())){ if (get_user_preferences('auth_forcepasswordchange', NULL, $user->id)) { $checked = ' checked="checked" '; } else {