Skip to content

Commit d2870a2

Browse files
committed
Log when using 2fa
1 parent 700a31e commit d2870a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/web/login/otp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function finish_2fa_success($msg = '') {
118118

119119
//* 2fa success
120120
if(password_verify($_POST['code'], $_SESSION['otp']['code_hash'])) {
121-
finish_2fa_success();
121+
finish_2fa_success('with 2fa');
122122
} else {
123123
//* 2fa wrong code
124124
$_SESSION['otp']['session_attempts']++;

0 commit comments

Comments
 (0)