web/admin: fix authentication/enrollment flow in sources being marked as required (#10911)

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens L.
2024-08-15 00:50:14 +02:00
committed by GitHub
parent e773ce2681
commit 8f81237fc5
3 changed files with 0 additions and 6 deletions

View File

@ -500,7 +500,6 @@ export class OAuthSourceForm extends WithCapabilitiesConfig(BaseSourceForm<OAuth
<div slot="body" class="pf-c-form">
<ak-form-element-horizontal
label=${msg("Authentication flow")}
?required=${true}
name="authenticationFlow"
>
<ak-source-flow-search
@ -515,7 +514,6 @@ export class OAuthSourceForm extends WithCapabilitiesConfig(BaseSourceForm<OAuth
</ak-form-element-horizontal>
<ak-form-element-horizontal
label=${msg("Enrollment flow")}
?required=${true}
name="enrollmentFlow"
>
<ak-source-flow-search

View File

@ -384,7 +384,6 @@ export class PlexSourceForm extends WithCapabilitiesConfig(BaseSourceForm<PlexSo
<div slot="body" class="pf-c-form">
<ak-form-element-horizontal
label=${msg("Authentication flow")}
?required=${true}
name="authenticationFlow"
>
<ak-source-flow-search
@ -399,7 +398,6 @@ export class PlexSourceForm extends WithCapabilitiesConfig(BaseSourceForm<PlexSo
</ak-form-element-horizontal>
<ak-form-element-horizontal
label=${msg("Enrollment flow")}
?required=${true}
name="enrollmentFlow"
>
<ak-source-flow-search

View File

@ -580,7 +580,6 @@ export class SAMLSourceForm extends WithCapabilitiesConfig(BaseSourceForm<SAMLSo
</ak-form-element-horizontal>
<ak-form-element-horizontal
label=${msg("Authentication flow")}
?required=${true}
name="authenticationFlow"
>
<ak-source-flow-search
@ -595,7 +594,6 @@ export class SAMLSourceForm extends WithCapabilitiesConfig(BaseSourceForm<SAMLSo
</ak-form-element-horizontal>
<ak-form-element-horizontal
label=${msg("Enrollment flow")}
?required=${true}
name="enrollmentFlow"
>
<ak-source-flow-search