stages/authenticator_duo: fix component not being set in API
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
3fe0483dbf
commit
9bd613a31d
|
@ -63,7 +63,7 @@ class AuthenticatorDuoStageView(ChallengeStageView):
|
||||||
"type": ChallengeTypes.NATIVE.value,
|
"type": ChallengeTypes.NATIVE.value,
|
||||||
"activation_barcode": enroll["activation_barcode"],
|
"activation_barcode": enroll["activation_barcode"],
|
||||||
"activation_code": enroll["activation_code"],
|
"activation_code": enroll["activation_code"],
|
||||||
"stage_uuid": stage.stage_uuid,
|
"stage_uuid": str(stage.stage_uuid),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -102,7 +102,7 @@ export class LDAPProviderViewPage extends LitElement {
|
||||||
</span>
|
</span>
|
||||||
<ak-provider-ldap-form
|
<ak-provider-ldap-form
|
||||||
slot="form"
|
slot="form"
|
||||||
.instancePk=${this.provider.pk || 0}>
|
.instancePk=${this.provider.pk}>
|
||||||
</ak-provider-ldap-form>
|
</ak-provider-ldap-form>
|
||||||
<button slot="trigger" class="pf-c-button pf-m-primary">
|
<button slot="trigger" class="pf-c-button pf-m-primary">
|
||||||
${t`Edit`}
|
${t`Edit`}
|
||||||
|
|
Reference in New Issue