Skip to content

Commit 7a7c55a

Browse files
authored
Exec should be removed (hestiacp#4093)
1 parent 1ecd97e commit 7a7c55a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

web/login/index.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -264,12 +264,6 @@ function authenticate_user($user, $password, $twofa = "") {
264264
}
265265

266266
if ($data[$user]["TWOFA"] != "") {
267-
exec(
268-
HESTIA_CMD . "v-check-user-2fa " . $v_user . " " . $v_twofa,
269-
$output,
270-
$return_var,
271-
);
272-
$error = _("Invalid or missing 2FA token");
273267
if (empty($twofa)) {
274268
$_SESSION["login"]["username"] = $user;
275269
$_SESSION["login"]["password"] = $password;

0 commit comments

Comments
 (0)