summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Vinakovsky <dvinak@gmail.com>2016-01-18 11:39:16 -0500
committerDaniel Vinakovsky <dvinak@gmail.com>2016-01-18 11:39:16 -0500
commit9a7911eb0fdccfc98fcec60010f379e3a4b34ced (patch)
tree882c4f9ec220291eb26073e868f23996c4e7ae25 /src
parentc5e32b06387fd99a7f2498b132e199aecb3678cd (diff)
downloadpfsense-9a7911eb0fdccfc98fcec60010f379e3a4b34ced.zip
pfsense-9a7911eb0fdccfc98fcec60010f379e3a4b34ced.tar.gz
style fixes
Diffstat (limited to 'src')
-rwxr-xr-xsrc/etc/inc/auth.inc6
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);
OpenPOWER on IntegriCloud