fixed message

This commit is contained in:
Roland Gruber 2019-11-21 22:02:38 +01:00
parent 38045cbac1
commit db48e32dc6
1 changed files with 1 additions and 1 deletions

View File

@ -1637,8 +1637,8 @@ function enforceUserIsLoggedIn($check2ndFactor = true) {
die(); die();
} }
if ($check2ndFactor && isset($_SESSION['2factorRequired'])) { if ($check2ndFactor && isset($_SESSION['2factorRequired'])) {
die();
logNewMessage(LOG_WARNING, 'Detected unauthorized access to page that requires login (2nd factor not provided): ' . $_SERVER["SCRIPT_FILENAME"]); logNewMessage(LOG_WARNING, 'Detected unauthorized access to page that requires login (2nd factor not provided): ' . $_SERVER["SCRIPT_FILENAME"]);
die();
} }
} }