Audit: fix invalid signal signature

This commit is contained in:
Jens Langhammer 2018-12-18 13:27:01 +01:00
parent 5f9befb5ee
commit b718be6593
2 changed files with 2 additions and 2 deletions

View file

@ -40,4 +40,4 @@
</tbody>
</table>
</div>
{% endblock %}
{% endblock %}

View file

@ -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)