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">
|
||||
${this.configureUrl
|
||||
? html`<a
|
||||
href="${this.configureUrl}?next=/%23%2Fuser"
|
||||
href="${this.configureUrl}?next=/${encodeURIComponent("#/settings")}"
|
||||
class="pf-c-button pf-m-primary"
|
||||
>${t`Enable Duo authenticator`}
|
||||
</a>`
|
||||
|
|
|
@ -75,7 +75,7 @@ export class UserSettingsAuthenticatorStatic extends BaseUserSettings {
|
|||
<div class="pf-c-card__footer">
|
||||
${this.configureUrl
|
||||
? html`<a
|
||||
href="${this.configureUrl}?next=/%23%2Fuser"
|
||||
href="${this.configureUrl}?next=/${encodeURIComponent("#/settings")}"
|
||||
class="pf-c-button pf-m-primary"
|
||||
>${t`Enable Static Tokens`}
|
||||
</a>`
|
||||
|
|
|
@ -56,7 +56,7 @@ export class UserSettingsAuthenticatorTOTP extends BaseUserSettings {
|
|||
<div class="pf-c-card__footer">
|
||||
${this.configureUrl
|
||||
? html`<a
|
||||
href="${this.configureUrl}?next=/%23%2Fuser"
|
||||
href="${this.configureUrl}?next=/${encodeURIComponent("#/settings")}"
|
||||
class="pf-c-button pf-m-primary"
|
||||
>${t`Enable TOTP`}
|
||||
</a>`
|
||||
|
|
|
@ -114,7 +114,7 @@ export class UserSettingsAuthenticatorWebAuthn extends BaseUserSettings {
|
|||
<div class="pf-c-card__footer">
|
||||
${this.configureUrl
|
||||
? html`<a
|
||||
href="${this.configureUrl}?next=/%23%2Fuser"
|
||||
href="${this.configureUrl}?next=/${encodeURIComponent("#/settings")}"
|
||||
class="pf-c-button pf-m-primary"
|
||||
>${t`Configure WebAuthn`}
|
||||
</a>`
|
||||
|
|
Reference in New Issue