Revision 908cbaf9
Added by Jim Pingle about 14 years ago
usr/local/www/system_usermanager.php | ||
---|---|---|
87 | 87 |
|
88 | 88 |
$privdeleted = $priv_list[$a_user[$id]['priv'][$_GET['privid']]]['name']; |
89 | 89 |
unset($a_user[$id]['priv'][$_GET['privid']]); |
90 |
local_user_set($a_user[$id]); |
|
90 | 91 |
write_config(); |
91 | 92 |
$_GET['act'] = "edit"; |
92 | 93 |
$savemsg = gettext("Privilege")." {$privdeleted} ". |
Also available in: Unified diff
Set user when removing privileges, otherwise things like the user's shell would not be reset until pressing save, which is inconsistent with that step not being needed when adding privileges.