web/admin: fix AuthenticatorValidationStage's form not setting notConfiguredAction

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>

#802
This commit is contained in:
Jens Langhammer 2021-05-12 16:28:14 +02:00
parent 3dbe35cf9e
commit 3ad1c3f212
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ export class AuthenticatorValidateStageForm extends ModelForm<AuthenticatorValid
<ak-form-element-horizontal <ak-form-element-horizontal
label=${t`Not configured action`} label=${t`Not configured action`}
?required=${true} ?required=${true}
name="mode"> name="notConfiguredAction">
<select class="pf-c-form-control" @change=${(ev: Event) => { <select class="pf-c-form-control" @change=${(ev: Event) => {
const target = ev.target as HTMLSelectElement; const target = ev.target as HTMLSelectElement;
if (target.selectedOptions[0].value === AuthenticatorValidateStageNotConfiguredActionEnum.Configure) { if (target.selectedOptions[0].value === AuthenticatorValidateStageNotConfiguredActionEnum.Configure) {