Skip to content

Commit b7982ea

Browse files
committed
Replace spaces for token.
1 parent 28ac03a commit b7982ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/login/index.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
// Check if 2FA is active
9090
if ($data[$_POST['user']]['TWOFA'] != '') {
9191
if (isset($v_twofa)){
92+
$v_twofa = str_replace(' ', '', $v_twofa);
9293
exec(HESTIA_CMD ."v-check-user-2fa ".$v_user." ".$v_twofa, $output, $return_var);
9394
unset($output);
9495
if ( $return_var > 0 ) {

0 commit comments

Comments
 (0)