web/admin: fix ApplicationForm setting wrong field

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-04-08 22:51:13 +02:00
parent ca35204e0c
commit e33a1ea0c7
1 changed files with 2 additions and 2 deletions

View File

@ -157,8 +157,8 @@ export class ApplicationForm extends Form<Application> {
<div slot="body" class="pf-c-form"> <div slot="body" class="pf-c-form">
<ak-form-element-horizontal <ak-form-element-horizontal
label=${t`Launch URL`} label=${t`Launch URL`}
name="launchUrl"> name="metaLaunchUrl">
<input type="text" value="${ifDefined(this.application?.launchUrl)}" class="pf-c-form-control"> <input type="text" value="${ifDefined(this.application?.metaLaunchUrl)}" class="pf-c-form-control">
<p class="pf-c-form__helper-text">${t`If left empty, authentik will try to extract the launch URL based on the selected provider.`}</p> <p class="pf-c-form__helper-text">${t`If left empty, authentik will try to extract the launch URL based on the selected provider.`}</p>
</ak-form-element-horizontal> </ak-form-element-horizontal>
<ak-form-element-horizontal <ak-form-element-horizontal