Audit: fix invalid signal signature
This commit is contained in:
parent
5f9befb5ee
commit
b718be6593
|
@ -36,7 +36,7 @@ def on_invitation_used(sender, request, invitation, **kwargs):
|
||||||
invitation_uuid=invitation.uuid.hex)
|
invitation_uuid=invitation.uuid.hex)
|
||||||
|
|
||||||
@receiver(user_login_failed)
|
@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"""
|
"""Log failed login attempt"""
|
||||||
# TODO: Implement sumarizing of signals here for brute-force attempts
|
# TODO: Implement sumarizing of signals here for brute-force attempts
|
||||||
# AuditEntry.create(AuditEntry.ACTION_LOGOUT, request)
|
# AuditEntry.create(AuditEntry.ACTION_LOGOUT, request)
|
||||||
|
|
Reference in New Issue