Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
d2870a26
Verified
Commit
d2870a26
authored
Mar 27, 2022
by
Helmo
Browse files
Log when using 2fa
parent
700a31e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/login/otp.php
View file @
d2870a26
...
...
@@ -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'
]
++
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment