summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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