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 a3981dd3cd
commit c8c7202c61

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 => {