web/admin: fix LDAP Provider bind flow list being empty

closes #1192

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-07-28 21:01:10 +02:00
parent 75ff2480e2
commit 9c0f7e0018
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ export class LDAPProviderFormPage extends ModelForm<LDAPProvider, number> {
name="authorizationFlow">
<select class="pf-c-form-control">
${until(tenant().then(t => {
new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
return new FlowsApi(DEFAULT_CONFIG).flowsInstancesList({
ordering: "pk",
designation: FlowsInstancesListDesignationEnum.Authentication,
}).then(flows => {