stages/authenticator_duo: fix imported duo devices not being confirmed
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
7b0f89398d
commit
6843c8389b
|
@ -128,6 +128,7 @@ class AuthenticatorDuoStageViewSet(UsedByMixin, ModelViewSet):
|
||||||
duo_user_id=request.data.get("duo_user_id"),
|
duo_user_id=request.data.get("duo_user_id"),
|
||||||
user=user,
|
user=user,
|
||||||
stage=stage,
|
stage=stage,
|
||||||
|
confirmed=True,
|
||||||
name="Imported Duo Authenticator",
|
name="Imported Duo Authenticator",
|
||||||
)
|
)
|
||||||
return Response(status=204)
|
return Response(status=204)
|
||||||
|
|
Reference in New Issue