From 3ebc531ae2d457bf9d86d78b86a107a5688ce891 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 4 May 2021 12:02:16 +0200 Subject: [PATCH] web/admin/sources: fix userMatchingMode not being configurable Signed-off-by: Jens Langhammer --- .../pages/sources/oauth/OAuthSourceForm.ts | 24 ++++++++++++++++++- web/src/pages/sources/plex/PlexSourceForm.ts | 24 ++++++++++++++++++- 2 files changed, 46 insertions(+), 2 deletions(-) diff --git a/web/src/pages/sources/oauth/OAuthSourceForm.ts b/web/src/pages/sources/oauth/OAuthSourceForm.ts index 6b898e4d9..8a82e378c 100644 --- a/web/src/pages/sources/oauth/OAuthSourceForm.ts +++ b/web/src/pages/sources/oauth/OAuthSourceForm.ts @@ -1,4 +1,4 @@ -import { OAuthSource, SourcesApi, FlowsApi, FlowDesignationEnum } from "authentik-api"; +import { OAuthSource, SourcesApi, FlowsApi, FlowDesignationEnum, OAuthSourceUserMatchingModeEnum } from "authentik-api"; import { t } from "@lingui/macro"; import { customElement, property } from "lit-element"; import { html, TemplateResult } from "lit-html"; @@ -119,6 +119,28 @@ export class OAuthSourceForm extends Form { + + + diff --git a/web/src/pages/sources/plex/PlexSourceForm.ts b/web/src/pages/sources/plex/PlexSourceForm.ts index 10c7da501..ec49ce8e0 100644 --- a/web/src/pages/sources/plex/PlexSourceForm.ts +++ b/web/src/pages/sources/plex/PlexSourceForm.ts @@ -1,4 +1,4 @@ -import { PlexSource, SourcesApi, FlowsApi, FlowDesignationEnum } from "authentik-api"; +import { PlexSource, SourcesApi, FlowsApi, FlowDesignationEnum, PlexSourceUserMatchingModeEnum } from "authentik-api"; import { t } from "@lingui/macro"; import { customElement, property } from "lit-element"; import { html, TemplateResult } from "lit-html"; @@ -94,6 +94,28 @@ export class PlexSourceForm extends Form { + + +