diff --git a/interface/web/login/otp.php b/interface/web/login/otp.php index acc07891f4ff37c6a6e2c292e3ce7ef743405f21..543ded4a44809a94778f789f4678d3aee9d93488 100644 --- a/interface/web/login/otp.php +++ b/interface/web/login/otp.php @@ -118,7 +118,7 @@ if($_SESSION['otp']['type'] == 'email') { //* 2fa success if(password_verify($_POST['code'], $_SESSION['otp']['code_hash'])) { - finish_2fa_success(); + finish_2fa_success('with 2fa'); } else { //* 2fa wrong code $_SESSION['otp']['session_attempts']++;