mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 11:35:49 +00:00
[WebUI] Log successful logins with associated ip
This commit is contained in:
parent
c2c0fe86f9
commit
dd30bad96a
1 changed files with 1 additions and 0 deletions
|
@ -298,6 +298,7 @@ class Auth(JSONComponent):
|
|||
:rtype: string or False
|
||||
"""
|
||||
if self.check_password(password):
|
||||
log.info('Login success (ClientIP %s)', __request__.getClientIP())
|
||||
return self._create_session(__request__)
|
||||
else:
|
||||
log.error('Login failed (ClientIP %s)', __request__.getClientIP())
|
||||
|
|
Loading…
Add table
Reference in a new issue