stages/authenticator_duo: fix imported duo devices not being confirmed

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-11-24 11:36:34 +01:00
parent 7b0f89398d
commit 6843c8389b
1 changed files with 1 additions and 0 deletions

View File

@ -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)