From 64c8ca9b5d120a0b315c73f0dc9ef7674152b231 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 26 Jul 2021 18:47:59 +0200 Subject: [PATCH] web/admin: default to authentication flow for LDAP provider Signed-off-by: Jens Langhammer --- .../pages/providers/ldap/LDAPProviderForm.ts | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/web/src/pages/providers/ldap/LDAPProviderForm.ts b/web/src/pages/providers/ldap/LDAPProviderForm.ts index cf5bf656c..e8d608442 100644 --- a/web/src/pages/providers/ldap/LDAPProviderForm.ts +++ b/web/src/pages/providers/ldap/LDAPProviderForm.ts @@ -2,7 +2,7 @@ import { FlowsApi, ProvidersApi, LDAPProvider, CoreApi, FlowsInstancesListDesign import { t } from "@lingui/macro"; import { customElement } from "lit-element"; import { html, TemplateResult } from "lit-html"; -import { DEFAULT_CONFIG } from "../../../api/Config"; +import { DEFAULT_CONFIG, tenant } from "../../../api/Config"; import { ModelForm } from "../../../elements/forms/ModelForm"; import { until } from "lit-html/directives/until"; import { ifDefined } from "lit-html/directives/if-defined"; @@ -53,12 +53,18 @@ export class LDAPProviderFormPage extends ModelForm { ?required=${true} name="authorizationFlow">