stages/password: fix recovery link not being shown in SPA

This commit is contained in:
Jens Langhammer
2021-02-25 15:09:48 +01:00
parent 0f169f176d
commit cf7e7c44ff
3 changed files with 6 additions and 11 deletions

View File

@ -56,6 +56,10 @@ export class PasswordStage extends BaseStage {
required="">
</ak-form-element>
${this.challenge.recovery_url ?
html`<a href="${this.challenge.recovery_url}">
${gettext("Forgot password?")}</a>` : ""}
<div class="pf-c-form__group pf-m-action">
<button type="submit" class="pf-c-button pf-m-primary pf-m-block">
${gettext("Continue")}