diff options
author | Daniel Vinakovsky <dvinak@gmail.com> | 2016-01-18 11:39:16 -0500 |
---|---|---|
committer | Daniel Vinakovsky <dvinak@gmail.com> | 2016-01-18 11:39:16 -0500 |
commit | 9a7911eb0fdccfc98fcec60010f379e3a4b34ced (patch) | |
tree | 882c4f9ec220291eb26073e868f23996c4e7ae25 /src | |
parent | c5e32b06387fd99a7f2498b132e199aecb3678cd (diff) | |
download | pfsense-9a7911eb0fdccfc98fcec60010f379e3a4b34ced.zip pfsense-9a7911eb0fdccfc98fcec60010f379e3a4b34ced.tar.gz |
style fixes
Diffstat (limited to 'src')
-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); |