From 7b94e9434ee900f4c283e7005298e251b5069726 Mon Sep 17 00:00:00 2001 From: frytimo Date: Thu, 5 Sep 2024 12:30:22 -0300 Subject: [PATCH] fix authentication logging of cidr fail (#7120) Correct variable name to use when logging a cidr failed login attempt Co-authored-by: Tim Fry --- core/authentication/resources/classes/authentication.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/authentication/resources/classes/authentication.php b/core/authentication/resources/classes/authentication.php index e16b2850df..bf1ea75a6b 100644 --- a/core/authentication/resources/classes/authentication.php +++ b/core/authentication/resources/classes/authentication.php @@ -211,7 +211,7 @@ class authentication { if (!$found) { //log the failed attempt - $login_result = $_SESSION['authentication']['plugin']; + $plugin_classname = substr($class_name, 7); user_logs::add($_SESSION['authentication']['plugin'][$plugin_classname]); //destroy session