We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f20398 commit c8833f0Copy full SHA for c8833f0
web/login/index.php
@@ -101,7 +101,7 @@ function authenticate_user(){
101
if ($data[$_POST['user']]['TWOFA'] != '') {
102
if (empty($_POST['twofa'])){
103
return false;
104
- }else{
+ } else {
105
$v_twofa = $_POST['twofa'];
106
exec(HESTIA_CMD ."v-check-user-2fa ".$v_user." ".$v_twofa, $output, $return_var);
107
unset($output);
@@ -145,7 +145,7 @@ function authenticate_user(){
145
}
146
147
148
149
unset($_POST);
150
unset($_GET);
151
unset($_SESSION);
@@ -194,4 +194,4 @@ function authenticate_user(){
194
} else {
195
require_once('../templates/login.html');
196
197
-?>
+?>
0 commit comments