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
1 changed files with 0 additions and 1 deletions

View File

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