From 08e8cf850a594b7d625ce5332a6862e173b3c4a9 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 29 Aug 2021 13:49:57 +0200 Subject: [PATCH] web/flows: fix FlowExecutor not updating when challenge changes from outside Signed-off-by: Jens Langhammer --- web/src/flows/FlowExecutor.ts | 1 + web/src/pages/sources/SourcesListPage.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/flows/FlowExecutor.ts b/web/src/flows/FlowExecutor.ts index 4202cd326..f86accf00 100644 --- a/web/src/flows/FlowExecutor.ts +++ b/web/src/flows/FlowExecutor.ts @@ -77,6 +77,7 @@ export class FlowExecutor extends LitElement implements StageHost { document.title = tenant.brandingTitle || TITLE_DEFAULT; } }); + this.requestUpdate(); } get challenge(): ChallengeTypes | undefined { diff --git a/web/src/pages/sources/SourcesListPage.ts b/web/src/pages/sources/SourcesListPage.ts index 7d750e6b0..d34ed5d67 100644 --- a/web/src/pages/sources/SourcesListPage.ts +++ b/web/src/pages/sources/SourcesListPage.ts @@ -25,7 +25,7 @@ export class SourceListPage extends TablePage { return t`Sources`; } pageDescription(): string | undefined { - return t`Sources of identities, which can either be synced into authentik's database, like LDAP, or can be used by users to authenticate and enroll themselves, like OAuth and social logins`; + return t`Sources of identities, which can either be synced into authentik's database, or can be used by users to authenticate and enroll themselves.`; } pageIcon(): string { return "pf-icon pf-icon-middleware";