projects
/
pve-access-control.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb6f2f9
)
allow to delete all groups
author
Dietmar Maurer
<dietmar@proxmox.com>
Thu, 12 Jan 2012 08:27:32 +0000
(09:27 +0100)
committer
Dietmar Maurer
<dietmar@proxmox.com>
Thu, 12 Jan 2012 08:27:32 +0000
(09:27 +0100)
PVE/API2/User.pm
patch
|
blob
|
blame
|
history
diff --git
a/PVE/API2/User.pm
b/PVE/API2/User.pm
index 6272cadbb1d366816ab86cec30e3ff6411cb1714..a9198699f97bcd1038c3d4dbaa833d3217c8e661 100644
(file)
--- a/
PVE/API2/User.pm
+++ b/
PVE/API2/User.pm
@@
-247,7
+247,7
@@
__PACKAGE__->register_method ({
$usercfg->{users}->{$username}->{expire} = $param->{expire} if defined($param->{expire});
PVE::AccessControl::delete_user_group($username, $usercfg)
- if (!$param->{append} &&
$param->{groups}
);
+ if (!$param->{append} &&
defined($param->{groups})
);
if ($param->{groups}) {
foreach my $group (split_list($param->{groups})) {