diff options
author | Jochen Wiedmann <jochen.wiedmann@gmail.com> | 2011-04-27 15:20:55 -0700 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2011-04-27 15:20:55 -0700 |
commit | 645ebe3d40e6a148dca52054e91483253b3d7568 (patch) | |
tree | df9a0bdb22479b789668a051397a3f5cb658c7ab /editusers.cgi | |
parent | Bug 646578: Make Math::Random::Secure fail to install if its dependencies (diff) | |
download | bugzilla-645ebe3d40e6a148dca52054e91483253b3d7568.tar.gz bugzilla-645ebe3d40e6a148dca52054e91483253b3d7568.tar.bz2 bugzilla-645ebe3d40e6a148dca52054e91483253b3d7568.zip |
Bug 423612 - Allow editing extern_id for users from the admin interface
r=mkanat, a=mkanat
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-x | editusers.cgi | 6 |
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(); } |