summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2010-03-11 11:57:25 -0500
committerjim-p <jim@pingle.org>2010-03-11 11:58:06 -0500
commit019e6c3fc5f3d990bacf00e4881f72c0ea634b36 (patch)
tree1a7388f700103a4fd0d8f50ac80e449507083bb6 /etc/inc/auth.inc
parent65d6d7fc2ec11d7923c116c19c6472d7d4a9bf04 (diff)
downloadpfsense-019e6c3fc5f3d990bacf00e4881f72c0ea634b36.zip
pfsense-019e6c3fc5f3d990bacf00e4881f72c0ea634b36.tar.gz
Fix bug where user wasn't being removed from groups upon deletion.
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 6a0d941..9ca24b5 100644
--- a/etc/inc/auth.inc
+++ b/etc/inc/auth.inc
@@ -331,7 +331,7 @@ function local_user_del($user) {
global $debug;
/* remove all memberships */
- local_user_get_groups($user);
+ local_user_set_groups($user);
/* delete from pw db */
$cmd = "/usr/sbin/pw userdel {$user['name']}";
OpenPOWER on IntegriCloud