web/stages: fix cancel URL

This commit is contained in:
Jens Langhammer 2021-02-21 22:01:58 +01:00
parent 38da13fea3
commit 0fa97de06e
5 changed files with 5 additions and 5 deletions

View File

@ -49,7 +49,7 @@ export class AuthenticatorStaticStage extends BaseStage {
${this.challenge.pending_user}
</div>
<div class="right">
<a href="/-/cancel/">${gettext("Not you?")}</a>
<a href="/flows/-/cancel/">${gettext("Not you?")}</a>
</div>
</div>
</div>

View File

@ -37,7 +37,7 @@ export class AuthenticatorTOTPStage extends BaseStage {
${this.challenge.pending_user}
</div>
<div class="right">
<a href="/-/cancel/">${gettext("Not you?")}</a>
<a href="/flows/-/cancel/">${gettext("Not you?")}</a>
</div>
</div>
</div>

View File

@ -44,7 +44,7 @@ export class ConsentStage extends BaseStage {
${this.challenge.pending_user}
</div>
<div class="right">
<a href="/-/cancel/">${gettext("Not you?")}</a>
<a href="/flows/-/cancel/">${gettext("Not you?")}</a>
</div>
</div>
</div>

View File

@ -36,7 +36,7 @@ export class PasswordStage extends BaseStage {
${this.challenge.pending_user}
</div>
<div class="right">
<a href="/-/cancel/">${gettext("Not you?")}</a>
<a href="/flows/-/cancel/">${gettext("Not you?")}</a>
</div>
</div>
</div>

View File

@ -34,7 +34,7 @@ export class FlowExecutor extends LitElement {
challenge?: Challenge;
@property({type: Boolean})
loading: boolean = false;
loading = false;
static get styles(): CSSResult[] {
return COMMON_STYLES.concat(css`