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"
|
name="authenticationFlow"
|
||||||
>
|
>
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
|
<option value="" ?selected=${this.instance?.authenticationFlow === undefined}>
|
||||||
|
---------
|
||||||
|
</option>
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
|
@ -370,6 +373,9 @@ export class OAuthSourceForm extends ModelForm<OAuthSource, string> {
|
||||||
name="enrollmentFlow"
|
name="enrollmentFlow"
|
||||||
>
|
>
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
|
<option value="" ?selected=${this.instance?.enrollmentFlow === undefined}>
|
||||||
|
---------
|
||||||
|
</option>
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
|
|
|
@ -257,6 +257,9 @@ export class PlexSourceForm extends ModelForm<PlexSource, string> {
|
||||||
name="authenticationFlow"
|
name="authenticationFlow"
|
||||||
>
|
>
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
|
<option value="" ?selected=${this.instance?.authenticationFlow === undefined}>
|
||||||
|
---------
|
||||||
|
</option>
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
|
@ -296,6 +299,9 @@ export class PlexSourceForm extends ModelForm<PlexSource, string> {
|
||||||
name="enrollmentFlow"
|
name="enrollmentFlow"
|
||||||
>
|
>
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
|
<option value="" ?selected=${this.instance?.enrollmentFlow === undefined}>
|
||||||
|
---------
|
||||||
|
</option>
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
|
|
|
@ -358,6 +358,9 @@ export class SAMLSourceForm extends ModelForm<SAMLSource, string> {
|
||||||
name="preAuthenticationFlow"
|
name="preAuthenticationFlow"
|
||||||
>
|
>
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
|
<option value="" ?selected=${this.instance?.preAuthenticationFlow === undefined}>
|
||||||
|
---------
|
||||||
|
</option>
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
|
@ -395,6 +398,9 @@ export class SAMLSourceForm extends ModelForm<SAMLSource, string> {
|
||||||
name="authenticationFlow"
|
name="authenticationFlow"
|
||||||
>
|
>
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
|
<option value="" ?selected=${this.instance?.authenticationFlow === undefined}>
|
||||||
|
---------
|
||||||
|
</option>
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
|
@ -434,6 +440,9 @@ export class SAMLSourceForm extends ModelForm<SAMLSource, string> {
|
||||||
name="enrollmentFlow"
|
name="enrollmentFlow"
|
||||||
>
|
>
|
||||||
<select class="pf-c-form-control">
|
<select class="pf-c-form-control">
|
||||||
|
<option value="" ?selected=${this.instance?.enrollmentFlow === undefined}>
|
||||||
|
---------
|
||||||
|
</option>
|
||||||
${until(
|
${until(
|
||||||
new FlowsApi(DEFAULT_CONFIG)
|
new FlowsApi(DEFAULT_CONFIG)
|
||||||
.flowsInstancesList({
|
.flowsInstancesList({
|
||||||
|
|
Reference in New Issue