web/admin: allow web-based sources to have empty enrollment/authentication flow
closes #3683 Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
df4200992c
commit
0c48b40848
|
@ -331,6 +331,9 @@ export class OAuthSourceForm extends ModelForm<OAuthSource, string> {
|
|||
name="authenticationFlow"
|
||||
>
|
||||
<select class="pf-c-form-control">
|
||||
<option value="" ?selected=${this.instance?.authenticationFlow === undefined}>
|
||||
---------
|
||||
</option>
|
||||
${until(
|
||||
new FlowsApi(DEFAULT_CONFIG)
|
||||
.flowsInstancesList({
|
||||
|
@ -370,6 +373,9 @@ export class OAuthSourceForm extends ModelForm<OAuthSource, string> {
|
|||
name="enrollmentFlow"
|
||||
>
|
||||
<select class="pf-c-form-control">
|
||||
<option value="" ?selected=${this.instance?.enrollmentFlow === undefined}>
|
||||
---------
|
||||
</option>
|
||||
${until(
|
||||
new FlowsApi(DEFAULT_CONFIG)
|
||||
.flowsInstancesList({
|
||||
|
|
|
@ -257,6 +257,9 @@ export class PlexSourceForm extends ModelForm<PlexSource, string> {
|
|||
name="authenticationFlow"
|
||||
>
|
||||
<select class="pf-c-form-control">
|
||||
<option value="" ?selected=${this.instance?.authenticationFlow === undefined}>
|
||||
---------
|
||||
</option>
|
||||
${until(
|
||||
new FlowsApi(DEFAULT_CONFIG)
|
||||
.flowsInstancesList({
|
||||
|
@ -296,6 +299,9 @@ export class PlexSourceForm extends ModelForm<PlexSource, string> {
|
|||
name="enrollmentFlow"
|
||||
>
|
||||
<select class="pf-c-form-control">
|
||||
<option value="" ?selected=${this.instance?.enrollmentFlow === undefined}>
|
||||
---------
|
||||
</option>
|
||||
${until(
|
||||
new FlowsApi(DEFAULT_CONFIG)
|
||||
.flowsInstancesList({
|
||||
|
|
|
@ -358,6 +358,9 @@ export class SAMLSourceForm extends ModelForm<SAMLSource, string> {
|
|||
name="preAuthenticationFlow"
|
||||
>
|
||||
<select class="pf-c-form-control">
|
||||
<option value="" ?selected=${this.instance?.preAuthenticationFlow === undefined}>
|
||||
---------
|
||||
</option>
|
||||
${until(
|
||||
new FlowsApi(DEFAULT_CONFIG)
|
||||
.flowsInstancesList({
|
||||
|
@ -395,6 +398,9 @@ export class SAMLSourceForm extends ModelForm<SAMLSource, string> {
|
|||
name="authenticationFlow"
|
||||
>
|
||||
<select class="pf-c-form-control">
|
||||
<option value="" ?selected=${this.instance?.authenticationFlow === undefined}>
|
||||
---------
|
||||
</option>
|
||||
${until(
|
||||
new FlowsApi(DEFAULT_CONFIG)
|
||||
.flowsInstancesList({
|
||||
|
@ -434,6 +440,9 @@ export class SAMLSourceForm extends ModelForm<SAMLSource, string> {
|
|||
name="enrollmentFlow"
|
||||
>
|
||||
<select class="pf-c-form-control">
|
||||
<option value="" ?selected=${this.instance?.enrollmentFlow === undefined}>
|
||||
---------
|
||||
</option>
|
||||
${until(
|
||||
new FlowsApi(DEFAULT_CONFIG)
|
||||
.flowsInstancesList({
|
||||
|
|
Reference in a new issue