Skip to content

Commit c8833f0

Browse files
authored
Adjust code spacing
1 parent 7f20398 commit c8833f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/login/index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function authenticate_user(){
101101
if ($data[$_POST['user']]['TWOFA'] != '') {
102102
if (empty($_POST['twofa'])){
103103
return false;
104-
}else{
104+
} else {
105105
$v_twofa = $_POST['twofa'];
106106
exec(HESTIA_CMD ."v-check-user-2fa ".$v_user." ".$v_twofa, $output, $return_var);
107107
unset($output);
@@ -145,7 +145,7 @@ function authenticate_user(){
145145
}
146146
}
147147
}
148-
}else{
148+
} else {
149149
unset($_POST);
150150
unset($_GET);
151151
unset($_SESSION);
@@ -194,4 +194,4 @@ function authenticate_user(){
194194
} else {
195195
require_once('../templates/login.html');
196196
}
197-
?>
197+
?>

0 commit comments

Comments
 (0)