From c17253f9dc76e82405af0cb7ad15f13f7a34d249 Mon Sep 17 00:00:00 2001 From: toyomoyo Date: Wed, 31 May 2006 06:29:13 +0000 Subject: [PATCH] merged change to allow admins to click on the force password change checkbox if using internal_auth --- user/edit.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5