diff options
author | Byron Jones <glob@mozilla.com> | 2015-10-29 17:04:56 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-10-29 17:04:56 +0100 |
commit | b6d9211091e8d35f638b67b2b25fb3b00fb93134 (patch) | |
tree | 2d69ff90d8f2aa2255812b621e09bee6361b6c67 /editusers.cgi | |
parent | 175f9c1022672ae8d47c93ad0cf31084eb868ecb (diff) | |
download | bugzilla-b6d9211091e8d35f638b67b2b25fb3b00fb93134.tar.gz bugzilla-b6d9211091e8d35f638b67b2b25fb3b00fb93134.tar.xz |
Bug 1213757 - delegate password and 2fa resets to servicedesk
Diffstat (limited to 'editusers.cgi')
-rwxr-xr-x | editusers.cgi | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editusers.cgi b/editusers.cgi index c7851d00a..c3ea9a49e 100755 --- a/editusers.cgi +++ b/editusers.cgi @@ -270,9 +270,8 @@ if ($action eq 'search') { ? $cgi->param('password_change_reason') : '' ); - if ($user->in_group('admin') && $otherUser->mfa && $cgi->param('mfa') eq '') { + if ($user->in_group('bz_can_disable_mfa') && $otherUser->mfa && $cgi->param('mfa') eq '') { $otherUser->set_mfa(''); - Bugzilla->audit(sprintf('%s disabled 2FA for %s', $user->login, $otherUser->login)); } $changes = $otherUser->update(); } |