diff options
Diffstat (limited to 'cgi/manage.py')
-rw-r--r-- | cgi/manage.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/manage.py b/cgi/manage.py index 37546dc..45ed0c4 100644 --- a/cgi/manage.py +++ b/cgi/manage.py @@ -36,7 +36,7 @@ def manage(self, path_split): else: page += _('Incorrect username/password.') logAction('', 'Failed login. U:'+self.formdata['username']+' IP logged.') - logging.warn("Failed login. U:{} IP:{}".format(self.formdata['username'], self.environ["REMOTE_ADDR"])) + logging.warn("Failed login. U:{} IP:{}".format(self.formdata['username'], self.ip)) else: # Validate existing session manage_cookie = getCookie(self, 'weabot_manage') |