From db48e32dc686021e8334167e84079e25ea06ebd8 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Thu, 21 Nov 2019 22:02:38 +0100 Subject: [PATCH] fixed message --- lam/lib/account.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/account.inc b/lam/lib/account.inc index 25a04091..8efb0240 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -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(); } }