merged change to allow admins to click on the force password change checkbox if using internal_auth

This commit is contained in:
toyomoyo 2006-05-31 06:29:13 +00:00
parent ae34cad5fd
commit c17253f9dc

View File

@ -68,7 +68,7 @@ if (isadmin()) {
}
echo "</td>";
echo "</tr>\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 {