From 225099b1a1fe952b75fbd622b8277c2a2188f979 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 5 May 2021 21:57:13 +0200 Subject: [PATCH] web/admin: fix error when viewing ldap provider Signed-off-by: Jens Langhammer --- web/src/pages/providers/ProviderListPage.ts | 2 +- web/src/pages/providers/ProviderViewPage.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/web/src/pages/providers/ProviderListPage.ts b/web/src/pages/providers/ProviderListPage.ts index c92011e21..28fad5047 100644 --- a/web/src/pages/providers/ProviderListPage.ts +++ b/web/src/pages/providers/ProviderListPage.ts @@ -51,7 +51,7 @@ export class ProviderListPage extends TablePage { return [ new TableColumn(t`Name`, "name"), new TableColumn(t`Application`), - new TableColumn(t`Type`, "type"), + new TableColumn(t`Type`), new TableColumn(""), ]; } diff --git a/web/src/pages/providers/ProviderViewPage.ts b/web/src/pages/providers/ProviderViewPage.ts index 17b8b8a41..20c27aa23 100644 --- a/web/src/pages/providers/ProviderViewPage.ts +++ b/web/src/pages/providers/ProviderViewPage.ts @@ -7,6 +7,7 @@ import "../../elements/PageHeader"; import "./saml/SAMLProviderViewPage"; import "./oauth2/OAuth2ProviderViewPage"; import "./proxy/ProxyProviderViewPage"; +import "./ldap/LDAPProviderViewPage"; import { Provider, ProvidersApi } from "authentik-api"; import { DEFAULT_CONFIG } from "../../api/Config"; import { ifDefined } from "lit-html/directives/if-defined"; @@ -35,6 +36,8 @@ export class ProviderViewPage extends LitElement { return html``; case "ak-provider-proxy-form": return html``; + case "ak-provider-ldap-form": + return html``; default: return html`

Invalid provider type ${this.provider?.component}

`; }