web/admin: fix duplicate flow labels (#11689)
* web/admin: fix duplicate flow labels Signed-off-by: Jens Langhammer <jens@goauthentik.io> * format Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
		@ -70,22 +70,6 @@ export class ApplicationWizardAuthenticationByOauth extends BaseProviderPanel {
 | 
			
		||||
                    required
 | 
			
		||||
                ></ak-text-input>
 | 
			
		||||
 | 
			
		||||
                <ak-form-element-horizontal
 | 
			
		||||
                    name="authenticationFlow"
 | 
			
		||||
                    label=${msg("Authentication flow")}
 | 
			
		||||
                    .errorMessages=${errors?.authenticationFlow ?? []}
 | 
			
		||||
                >
 | 
			
		||||
                    <ak-flow-search
 | 
			
		||||
                        flowType=${FlowsInstancesListDesignationEnum.Authentication}
 | 
			
		||||
                        .currentFlow=${provider?.authenticationFlow}
 | 
			
		||||
                        required
 | 
			
		||||
                    ></ak-flow-search>
 | 
			
		||||
                    <p class="pf-c-form__helper-text">
 | 
			
		||||
                        ${msg(
 | 
			
		||||
                            "Flow used when a user access this provider and is not authenticated.",
 | 
			
		||||
                        )}
 | 
			
		||||
                    </p>
 | 
			
		||||
                </ak-form-element-horizontal>
 | 
			
		||||
                <ak-form-element-horizontal
 | 
			
		||||
                    name="authorizationFlow"
 | 
			
		||||
                    label=${msg("Authorization flow")}
 | 
			
		||||
@ -103,7 +87,7 @@ export class ApplicationWizardAuthenticationByOauth extends BaseProviderPanel {
 | 
			
		||||
                </ak-form-element-horizontal>
 | 
			
		||||
                <ak-form-element-horizontal
 | 
			
		||||
                    name="invalidationFlow"
 | 
			
		||||
                    label=${msg("Authorization flow")}
 | 
			
		||||
                    label=${msg("Invalidation flow")}
 | 
			
		||||
                    .errorMessages=${errors?.invalidationFlow ?? []}
 | 
			
		||||
                    ?required=${true}
 | 
			
		||||
                >
 | 
			
		||||
 | 
			
		||||
@ -104,23 +104,6 @@ export class AkTypeProxyApplicationWizardPage extends BaseProviderPanel {
 | 
			
		||||
                    label=${msg("Name")}
 | 
			
		||||
                ></ak-text-input>
 | 
			
		||||
 | 
			
		||||
                <ak-form-element-horizontal
 | 
			
		||||
                    label=${msg("Authentication flow")}
 | 
			
		||||
                    ?required=${false}
 | 
			
		||||
                    .errorMessages=${errors?.authenticationFlow ?? []}
 | 
			
		||||
                    name="authenticationFlow"
 | 
			
		||||
                >
 | 
			
		||||
                    <ak-flow-search
 | 
			
		||||
                        flowType=${FlowsInstancesListDesignationEnum.Authentication}
 | 
			
		||||
                        .currentFlow=${this.instance?.authenticationFlow}
 | 
			
		||||
                        required
 | 
			
		||||
                    ></ak-flow-search>
 | 
			
		||||
                    <p class="pf-c-form__helper-text">
 | 
			
		||||
                        ${msg(
 | 
			
		||||
                            "Flow used when a user access this provider and is not authenticated.",
 | 
			
		||||
                        )}
 | 
			
		||||
                    </p>
 | 
			
		||||
                </ak-form-element-horizontal>
 | 
			
		||||
                <ak-form-element-horizontal
 | 
			
		||||
                    label=${msg("Authorization flow")}
 | 
			
		||||
                    required
 | 
			
		||||
@ -138,7 +121,7 @@ export class AkTypeProxyApplicationWizardPage extends BaseProviderPanel {
 | 
			
		||||
                </ak-form-element-horizontal>
 | 
			
		||||
                <ak-form-element-horizontal
 | 
			
		||||
                    name="invalidationFlow"
 | 
			
		||||
                    label=${msg("Authorization flow")}
 | 
			
		||||
                    label=${msg("Invalidation flow")}
 | 
			
		||||
                    .errorMessages=${errors?.invalidationFlow ?? []}
 | 
			
		||||
                    ?required=${true}
 | 
			
		||||
                >
 | 
			
		||||
 | 
			
		||||
@ -88,22 +88,6 @@ export class ApplicationWizardProviderSamlConfiguration extends BaseProviderPane
 | 
			
		||||
                    .errorMessages=${errors?.name ?? []}
 | 
			
		||||
                ></ak-text-input>
 | 
			
		||||
 | 
			
		||||
                <ak-form-element-horizontal
 | 
			
		||||
                    label=${msg("Authentication flow")}
 | 
			
		||||
                    ?required=${false}
 | 
			
		||||
                    name="authenticationFlow"
 | 
			
		||||
                    .errorMessages=${errors?.authenticationFlow ?? []}
 | 
			
		||||
                >
 | 
			
		||||
                    <ak-flow-search
 | 
			
		||||
                        flowType=${FlowsInstancesListDesignationEnum.Authentication}
 | 
			
		||||
                        .currentFlow=${provider?.authenticationFlow}
 | 
			
		||||
                    ></ak-flow-search>
 | 
			
		||||
                    <p class="pf-c-form__helper-text">
 | 
			
		||||
                        ${msg(
 | 
			
		||||
                            "Flow used when a user access this provider and is not authenticated.",
 | 
			
		||||
                        )}
 | 
			
		||||
                    </p>
 | 
			
		||||
                </ak-form-element-horizontal>
 | 
			
		||||
                <ak-form-element-horizontal
 | 
			
		||||
                    label=${msg("Authorization flow")}
 | 
			
		||||
                    ?required=${true}
 | 
			
		||||
@ -121,7 +105,7 @@ export class ApplicationWizardProviderSamlConfiguration extends BaseProviderPane
 | 
			
		||||
                </ak-form-element-horizontal>
 | 
			
		||||
                <ak-form-element-horizontal
 | 
			
		||||
                    name="invalidationFlow"
 | 
			
		||||
                    label=${msg("Authorization flow")}
 | 
			
		||||
                    label=${msg("Invalidation flow")}
 | 
			
		||||
                    .errorMessages=${errors?.invalidationFlow ?? []}
 | 
			
		||||
                    ?required=${true}
 | 
			
		||||
                >
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user