From b718be659384eaee736336fd6aaddc9033fb45b7 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 18 Dec 2018 13:27:01 +0100 Subject: [PATCH] Audit: fix invalid signal signature --- passbook/admin/templates/administration/source/list.html | 2 +- passbook/audit/signals.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/passbook/admin/templates/administration/source/list.html b/passbook/admin/templates/administration/source/list.html index fe2a08ab9..4814fe243 100644 --- a/passbook/admin/templates/administration/source/list.html +++ b/passbook/admin/templates/administration/source/list.html @@ -40,4 +40,4 @@ -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/passbook/audit/signals.py b/passbook/audit/signals.py index 8d9f67922..0bd69a11c 100644 --- a/passbook/audit/signals.py +++ b/passbook/audit/signals.py @@ -36,7 +36,7 @@ def on_invitation_used(sender, request, invitation, **kwargs): invitation_uuid=invitation.uuid.hex) @receiver(user_login_failed) -def on_user_login_failed(sender, request, user, **kwargs): +def on_user_login_failed(sender, request, **kwargs): """Log failed login attempt""" # TODO: Implement sumarizing of signals here for brute-force attempts # AuditEntry.create(AuditEntry.ACTION_LOGOUT, request)