mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
fix message
This commit is contained in:
@@ -290,7 +290,10 @@ class LdapLogin implements Login
|
||||
if (strtolower($username) !== strtolower($tokenUsername)) {
|
||||
$ip = $this->util->obtainIpFromRequest($request);
|
||||
|
||||
$this->log->alert('Unauthorized access attempt for user [' . $username . '] from IP [' . $ip . ']');
|
||||
$this->log->alert("Unauthorized access attempt for user '{username}' from IP '{ip}'.", [
|
||||
'username' => $username,
|
||||
'ip' => $ip,
|
||||
]);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user