diff options
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r-- | etc/inc/auth.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index 2435ba6..4b5578b 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -255,16 +255,16 @@ function local_sync_accounts() { $allgrp = getGroupEntryByGID(1998); local_group_set($allgrp, true); - /* sync all local groups */ - if (is_array($config['system']['group'])) - foreach ($config['system']['group'] as $group) - local_group_set($group); - /* sync all local users */ if (is_array($config['system']['user'])) foreach ($config['system']['user'] as $user) local_user_set($user); + /* sync all local groups */ + if (is_array($config['system']['group'])) + foreach ($config['system']['group'] as $group) + local_group_set($group); + conf_mount_ro(); } |