fix authentication logging of cidr fail (#7120)

Correct variable name to use when logging a cidr failed login attempt

Co-authored-by: Tim Fry <tim@fusionpbx.com>
This commit is contained in:
frytimo 2024-09-05 12:30:22 -03:00 committed by GitHub
parent 4dfcba93b7
commit 7b94e9434e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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