web/user: fix final redirect after stage setup
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
04399bc8bb
commit
2fe7f4cf04
|
@ -56,7 +56,7 @@ export class UserSettingsAuthenticatorDuo extends BaseUserSettings {
|
||||||
<div class="pf-c-card__footer">
|
<div class="pf-c-card__footer">
|
||||||
${this.configureUrl
|
${this.configureUrl
|
||||||
? html`<a
|
? html`<a
|
||||||
href="${this.configureUrl}?next=/%23%2Fuser"
|
href="${this.configureUrl}?next=/${encodeURIComponent("#/settings")}"
|
||||||
class="pf-c-button pf-m-primary"
|
class="pf-c-button pf-m-primary"
|
||||||
>${t`Enable Duo authenticator`}
|
>${t`Enable Duo authenticator`}
|
||||||
</a>`
|
</a>`
|
||||||
|
|
|
@ -75,7 +75,7 @@ export class UserSettingsAuthenticatorStatic extends BaseUserSettings {
|
||||||
<div class="pf-c-card__footer">
|
<div class="pf-c-card__footer">
|
||||||
${this.configureUrl
|
${this.configureUrl
|
||||||
? html`<a
|
? html`<a
|
||||||
href="${this.configureUrl}?next=/%23%2Fuser"
|
href="${this.configureUrl}?next=/${encodeURIComponent("#/settings")}"
|
||||||
class="pf-c-button pf-m-primary"
|
class="pf-c-button pf-m-primary"
|
||||||
>${t`Enable Static Tokens`}
|
>${t`Enable Static Tokens`}
|
||||||
</a>`
|
</a>`
|
||||||
|
|
|
@ -56,7 +56,7 @@ export class UserSettingsAuthenticatorTOTP extends BaseUserSettings {
|
||||||
<div class="pf-c-card__footer">
|
<div class="pf-c-card__footer">
|
||||||
${this.configureUrl
|
${this.configureUrl
|
||||||
? html`<a
|
? html`<a
|
||||||
href="${this.configureUrl}?next=/%23%2Fuser"
|
href="${this.configureUrl}?next=/${encodeURIComponent("#/settings")}"
|
||||||
class="pf-c-button pf-m-primary"
|
class="pf-c-button pf-m-primary"
|
||||||
>${t`Enable TOTP`}
|
>${t`Enable TOTP`}
|
||||||
</a>`
|
</a>`
|
||||||
|
|
|
@ -114,7 +114,7 @@ export class UserSettingsAuthenticatorWebAuthn extends BaseUserSettings {
|
||||||
<div class="pf-c-card__footer">
|
<div class="pf-c-card__footer">
|
||||||
${this.configureUrl
|
${this.configureUrl
|
||||||
? html`<a
|
? html`<a
|
||||||
href="${this.configureUrl}?next=/%23%2Fuser"
|
href="${this.configureUrl}?next=/${encodeURIComponent("#/settings")}"
|
||||||
class="pf-c-button pf-m-primary"
|
class="pf-c-button pf-m-primary"
|
||||||
>${t`Configure WebAuthn`}
|
>${t`Configure WebAuthn`}
|
||||||
</a>`
|
</a>`
|
||||||
|
|
Reference in New Issue