web/flow: showing of authentik logo in flow executor

closes #1646

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-10-19 23:03:39 +02:00
parent ca682c3ee4
commit bb8e0c6f59
1 changed files with 1 additions and 6 deletions

View File

@ -29,7 +29,6 @@ import { configureSentry } from "../api/Sentry";
import { WebsocketClient } from "../common/ws";
import { EVENT_FLOW_ADVANCE, TITLE_DEFAULT } from "../constants";
import "../elements/LoadingOverlay";
import { DefaultTenant } from "../elements/sidebar/SidebarBrand";
import { first } from "../utils";
import "./FlowInspector";
import "./access_denied/FlowAccessDenied";
@ -385,11 +384,7 @@ export class FlowExecutor extends LitElement implements StageHost {
<header class="pf-c-login__header">
<div class="pf-c-brand ak-brand">
<img
src="${first(
this.tenant?.brandingLogo,
DefaultTenant.brandingLogo,
)}"
alt="authentik icon"
src="${first(this.tenant?.brandingLogo, "")}"
/>
</div>
</header>