WebUI: Add failed login log message with IP address for fail2ban
This commit is contained in:
parent
754035c722
commit
810495264f
|
@ -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