diff --git a/web/src/flows/FlowExecutor.ts b/web/src/flows/FlowExecutor.ts index 2eaf5c828..11b28b5d2 100644 --- a/web/src/flows/FlowExecutor.ts +++ b/web/src/flows/FlowExecutor.ts @@ -32,7 +32,6 @@ import { AuthenticatorStaticChallenge } from "./stages/authenticator_static/Auth import { AuthenticatorValidateStageChallenge } from "./stages/authenticator_validate/AuthenticatorValidateStage"; import { WebAuthnAuthenticatorRegisterChallenge } from "./stages/authenticator_webauthn/WebAuthnAuthenticatorRegisterStage"; import { CaptchaChallenge } from "./stages/captcha/CaptchaStage"; -import { SpinnerSize } from "../elements/Spinner"; import { StageHost } from "./stages/base"; import { Challenge, ChallengeTypeEnum, Config, FlowsApi, RootApi } from "authentik-api"; import { DEFAULT_CONFIG } from "../api/Config"; @@ -157,14 +156,15 @@ export class FlowExecutor extends LitElement implements StageHost { } renderLoading(): TemplateResult { - return html`
- -
`; + return html` + `; } renderChallenge(): TemplateResult { if (!this.challenge) { - return this.renderLoading(); + return html``; } switch (this.challenge.type) { case ChallengeTypeEnum.Redirect: