fix context

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-07-25 13:05:54 +02:00
parent a895157be1
commit ada24a609a
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class AuthenticatorMobileStageView(ChallengeStageView):
# TODO: use cloud gateway?
"u": self.request.get_host(),
"s": str(stage.stage_uuid),
"t": self.executor.plan[FLOW_PLAN_MOBILE_ENROLL].token,
"t": self.executor.plan.context[FLOW_PLAN_MOBILE_ENROLL].token,
}
)
payload.is_valid()