summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-07-12 13:37:01 -0400
committerjim-p <jimp@pfsense.org>2010-07-12 13:37:40 -0400
commit739c78ac308506dc00a9a5cd95f70e277cfba280 (patch)
treea95f70d08d0c4bae1b7abe45d5b06a851293d1c0 /etc/inc/auth.inc
parent619f2dbd0722d8f1a9c2ed5106cbd43a487b67e2 (diff)
downloadpfsense-739c78ac308506dc00a9a5cd95f70e277cfba280.zip
pfsense-739c78ac308506dc00a9a5cd95f70e277cfba280.tar.gz
Make sure a user gets deleted from the 'all' group.
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r--etc/inc/auth.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 94179d5..7dc59ca 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -415,7 +415,7 @@ function local_user_set_groups($user, $new_groups = NULL ) {
if (!is_array($config['system']['group']))
return;
- $cur_groups = local_user_get_groups($user);
+ $cur_groups = local_user_get_groups($user, true);
$mod_groups = array();
if (!is_array($new_groups))
OpenPOWER on IntegriCloud