WebUI: Add failed login log message with IP address for fail2ban

This commit is contained in:
Calum Lind 2013-01-25 01:12:34 +00:00
parent a0ae3ebfce
commit e362b36a59
1 changed files with 1 additions and 0 deletions

View File

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