From: toyomoyo Date: Wed, 31 May 2006 06:29:13 +0000 (+0000) Subject: merged change to allow admins to click on the force password change checkbox if using... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c17253f9dc76e82405af0cb7ad15f13f7a34d249;p=moodle.git merged change to allow admins to click on the force password change checkbox if using internal_auth --- diff --git a/user/edit.html b/user/edit.html index 4c7ca64d92..b03374f60a 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 {