diff options
-rwxr-xr-x | src/etc/inc/auth.inc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/etc/inc/auth.inc b/src/etc/inc/auth.inc index af252d8..56bcbc4 100755 --- a/src/etc/inc/auth.inc +++ b/src/etc/inc/auth.inc @@ -507,8 +507,7 @@ function local_user_set(& $user) { $fd = popen($cmd, "w"); if (empty($user['bcrypt-hash'])) { fwrite($fd, $user['password']); - } - else { + } else { fwrite($fd, $user['bcrypt-hash']); } pclose($fd); @@ -542,8 +541,7 @@ function local_user_set(& $user) { $fd = popen($cmd, "w"); if (empty($user['bcrypt-hash'])) { fwrite($fd, $user['password']); - } - else { + } else { fwrite($fd, $user['bcrypt-hash']); } pclose($fd); |