From dd30bad96ac075bd8330ff6278e1cd3935450ff9 Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Mon, 20 Feb 2017 18:37:01 +0000 Subject: [PATCH] [WebUI] Log successful logins with associated ip --- deluge/ui/web/auth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deluge/ui/web/auth.py b/deluge/ui/web/auth.py index 765d93e48..6e98e579b 100644 --- a/deluge/ui/web/auth.py +++ b/deluge/ui/web/auth.py @@ -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())