flow: pass Query on FlowExecutorSolve to prevent redirect issues

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-03-24 14:12:49 +01:00
parent 4d88af4601
commit 3698c6431c
3 changed files with 15 additions and 0 deletions

View File

@ -108,6 +108,7 @@ export class FlowExecutor extends LitElement implements StageHost {
return new FlowsApi(DEFAULT_CONFIG).flowsExecutorSolveRaw({
flowSlug: this.flowSlug,
data: formData || {},
query: window.location.search.substring(1),
}).then((challengeRaw) => {
return challengeRaw.raw.json();
}).then((data) => {