audit: don't pop password as its censored already

This commit is contained in:
Jens Langhammer 2020-02-23 14:43:33 +01:00
parent fa2870afe0
commit ca61a7cc21

View file

@ -34,7 +34,6 @@ def on_user_login_failed(
sender, credentials: Dict[str, str], request: HttpRequest, **_
):
"""Failed Login"""
credentials.pop("password")
Event.new(EventAction.LOGIN_FAILED, **credentials).from_http(request)