mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user