summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/editusers.cgi b/editusers.cgi
index a55fd04a7..bb23279ff 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -264,6 +264,12 @@ if ($action eq 'search') {
$otherUser->set_disable_mail($cgi->param('disable_mail'));
$otherUser->set_extern_id($cgi->param('extern_id'))
if defined($cgi->param('extern_id'));
+ $otherUser->set_password_change_required($cgi->param('password_change_required'));
+ $otherUser->set_password_change_reason(
+ $otherUser->password_change_required
+ ? $cgi->param('password_change_reason')
+ : ''
+ );
$changes = $otherUser->update();
}