summaryrefslogtreecommitdiffstats
path: root/etc/inc/auth.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/auth.inc')
-rw-r--r--etc/inc/auth.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc
index 7dc59ca..8736c1c 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 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);
+ /* sync all local users */
+ if (is_array($config['system']['user']))
+ foreach ($config['system']['user'] as $user)
+ local_user_set($user);
+
conf_mount_ro();
}
OpenPOWER on IntegriCloud