fixed message
This commit is contained in:
parent
38045cbac1
commit
db48e32dc6
|
@ -1637,8 +1637,8 @@ function enforceUserIsLoggedIn($check2ndFactor = true) {
|
|||
die();
|
||||
}
|
||||
if ($check2ndFactor && isset($_SESSION['2factorRequired'])) {
|
||||
die();
|
||||
logNewMessage(LOG_WARNING, 'Detected unauthorized access to page that requires login (2nd factor not provided): ' . $_SERVER["SCRIPT_FILENAME"]);
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue