always allow admin to check the force password change box, if using internal_auth

This commit is contained in:
toyomoyo
2006-05-31 06:28:07 +00:00
parent 91a036b599
commit 213b568441
+1 -1
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 {