WebUI: Add failed login log message with IP address for fail2ban
This commit is contained in:
parent
a0ae3ebfce
commit
e362b36a59
|
@ -322,4 +322,5 @@ class Auth(JSONComponent):
|
|||
if self.check_password(password):
|
||||
return self._create_session(__request__)
|
||||
else:
|
||||
log.error('Login failed (ClientIP %s)', __request__.getClientIP())
|
||||
return False
|
||||
|
|
Loading…
Reference in New Issue