From ca61a7cc213643297dd8390f0d7b613f39b483f9 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 23 Feb 2020 14:43:33 +0100 Subject: [PATCH] audit: don't pop password as its censored already --- passbook/audit/signals.py | 1 - 1 file changed, 1 deletion(-) diff --git a/passbook/audit/signals.py b/passbook/audit/signals.py index c6557e6b5..1e30fea62 100644 --- a/passbook/audit/signals.py +++ b/passbook/audit/signals.py @@ -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)