mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
merged change to allow admins to click on the force password change checkbox if using internal_auth
This commit is contained in:
parent
ae34cad5fd
commit
c17253f9dc
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user