diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/auth.inc | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/etc/inc/auth.inc b/src/etc/inc/auth.inc index 286f606..5731c84 100644 --- a/src/etc/inc/auth.inc +++ b/src/etc/inc/auth.inc @@ -409,8 +409,16 @@ function local_sync_accounts() { if ($fd) { while (!feof($fd)) { $line = explode(":", fgets($fd)); - if (((!strncmp($line[0], "_", 1)) || ($line[2] < 2000) || ($line[2] > 65000)) && ($line[0] != "admin")) { - continue; + if ($line[0] != "admin") { + if (!strncmp($line[0], "_", 1)) { + continue; + } + if ($line[2] < 2000) { + continue; + } + if ($line[2] > 65000) { + continue; + } } /* * If a crontab was created to user, pw userdel will be interactive and |