summaryrefslogtreecommitdiffstats
path: root/editusers.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-xeditusers.cgi6
1 files changed, 5 insertions, 1 deletions
diff --git a/editusers.cgi b/editusers.cgi
index f53fde985..ad70e08a8 100755
--- a/editusers.cgi
+++ b/editusers.cgi
@@ -213,7 +213,9 @@ if ($action eq 'search') {
cryptpassword => $password,
realname => scalar $cgi->param('name'),
disabledtext => scalar $cgi->param('disabledtext'),
- disable_mail => scalar $cgi->param('disable_mail')});
+ disable_mail => scalar $cgi->param('disable_mail'),
+ extern_id => scalar $cgi->param('extern_id'),
+ });
userDataToVars($new_user->id);
@@ -256,6 +258,8 @@ if ($action eq 'search') {
if $cgi->param('password');
$otherUser->set_disabledtext($cgi->param('disabledtext'));
$otherUser->set_disable_mail($cgi->param('disable_mail'));
+ $otherUser->set_extern_id($cgi->param('extern_id'))
+ if defined($cgi->param('extern_id'));
$changes = $otherUser->update();
}