From 03287936e9f03ad2414bf2b486c8b9b3fb1908eb Mon Sep 17 00:00:00 2001 From: Jens L Date: Tue, 3 Oct 2023 15:32:48 +0200 Subject: [PATCH] web/flows: fix plex login not opening new tab on mobile safari (#7050) Signed-off-by: Jens Langhammer --- web/src/flow/FlowExecutor.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/flow/FlowExecutor.ts b/web/src/flow/FlowExecutor.ts index 6c23448d3..cbe08a77a 100644 --- a/web/src/flow/FlowExecutor.ts +++ b/web/src/flow/FlowExecutor.ts @@ -11,6 +11,8 @@ import { WebsocketClient } from "@goauthentik/common/ws"; import { Interface } from "@goauthentik/elements/Base"; import "@goauthentik/elements/LoadingOverlay"; import "@goauthentik/elements/ak-locale-context"; +import "@goauthentik/flow/sources/apple/AppleLoginInit"; +import "@goauthentik/flow/sources/plex/PlexLoginInit"; import "@goauthentik/flow/stages/FlowErrorStage"; import "@goauthentik/flow/stages/RedirectStage"; import { StageHost } from "@goauthentik/flow/stages/base"; @@ -353,13 +355,11 @@ export class FlowExecutor extends Interface implements StageHost { >`; // Sources case "ak-source-plex": - await import("@goauthentik/flow/sources/plex/PlexLoginInit"); return html``; case "ak-source-oauth-apple": - await import("@goauthentik/flow/sources/apple/AppleLoginInit"); return html`