From 6843c8389b9714135ad3f1b7b4f7be19e790a92f Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 24 Nov 2022 11:36:34 +0100 Subject: [PATCH] stages/authenticator_duo: fix imported duo devices not being confirmed Signed-off-by: Jens Langhammer --- authentik/stages/authenticator_duo/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/authentik/stages/authenticator_duo/api.py b/authentik/stages/authenticator_duo/api.py index 423679773..6a8f179b3 100644 --- a/authentik/stages/authenticator_duo/api.py +++ b/authentik/stages/authenticator_duo/api.py @@ -128,6 +128,7 @@ class AuthenticatorDuoStageViewSet(UsedByMixin, ModelViewSet): duo_user_id=request.data.get("duo_user_id"), user=user, stage=stage, + confirmed=True, name="Imported Duo Authenticator", ) return Response(status=204)