mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-13 11:48:40 +00:00
[WebUI] Log successful logins with associated ip
This commit is contained in:
parent
3962c41a55
commit
c39f00fa0b
1 changed files with 1 additions and 0 deletions
|
@ -324,6 +324,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
Add a link
Reference in a new issue