File tree 2 files changed +4
-2
lines changed
web/src/user/user-settings
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { AndNext } from "@goauthentik/common/api/config" ;
2
+ import { globalAK } from "@goauthentik/common/global" ;
2
3
import { AKElement } from "@goauthentik/elements/Base" ;
3
4
4
5
import { msg } from "@lit/localize" ;
@@ -31,7 +32,7 @@ export class UserSettingsPassword extends AKElement {
31
32
< div class ="pf-c-card__body ">
32
33
< a
33
34
href ="${ ifDefined ( this . configureUrl ) } ${ AndNext (
34
- `/ if/user/#/settings;${ JSON . stringify ( { page : "page-details" } ) } ` ,
35
+ `${ globalAK ( ) . api . base } if/user/#/settings;${ JSON . stringify ( { page : "page-details" } ) } ` ,
35
36
) } "
36
37
class ="pf-c-button pf-m-primary "
37
38
>
Original file line number Diff line number Diff line change 1
1
import { AndNext , DEFAULT_CONFIG } from "@goauthentik/common/api/config" ;
2
2
import { SentryIgnoredError } from "@goauthentik/common/errors" ;
3
+ import { globalAK } from "@goauthentik/common/global" ;
3
4
import { deviceTypeName } from "@goauthentik/common/labels" ;
4
5
import { getRelativeTime } from "@goauthentik/common/utils" ;
5
6
import "@goauthentik/elements/buttons/Dropdown" ;
@@ -73,7 +74,7 @@ export class MFADevicesPage extends Table<Device> {
73
74
return html `< li >
74
75
< a
75
76
href ="${ ifDefined ( stage . configureUrl ) } ${ AndNext (
76
- `/ if/user/#/settings;${ JSON . stringify ( {
77
+ `${ globalAK ( ) . api . base } if/user/#/settings;${ JSON . stringify ( {
77
78
page : "page-mfa" ,
78
79
} ) } `,
79
80
) } "
You can’t perform that action at this time.
0 commit comments