From d0308a82390966bc684805b5deb64e4c829646a0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 24 Nov 2022 11:36:43 +0100 Subject: [PATCH] stages/authenticator_validate: log duo error Signed-off-by: Jens Langhammer --- authentik/stages/authenticator_validate/challenge.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik/stages/authenticator_validate/challenge.py b/authentik/stages/authenticator_validate/challenge.py index f43996e5b..a8cf9b2b3 100644 --- a/authentik/stages/authenticator_validate/challenge.py +++ b/authentik/stages/authenticator_validate/challenge.py @@ -200,6 +200,7 @@ def validate_challenge_duo(device_pk: int, stage_view: StageView, user: User) -> ) # {'result': 'allow', 'status': 'allow', 'status_msg': 'Success. Logging you in...'} if response["result"] == "deny": + LOGGER.debug("duo push response", result=response["result"], msg=response["status_msg"]) login_failed.send( sender=__name__, credentials={"username": user.username},