web/admin: include authentik_url in enterprise link (#6304)
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
parent
2ac38869fe
commit
31913a620d
|
@ -136,7 +136,9 @@ export class EnterpriseLicenseListPage extends TablePage<License> {
|
|||
${this.installID
|
||||
? html` <a
|
||||
target="_blank"
|
||||
href=${`https://customers.goauthentik.io/from_authentik/purchase/?install_id=${this.installID}`}
|
||||
href=${`https://customers.goauthentik.io/from_authentik/purchase/?install_id=${encodeURIComponent(
|
||||
this.installID,
|
||||
)}&authentik_url=${encodeURI(window.location.origin)}`}
|
||||
class="pf-c-button pf-m-primary pf-m-block"
|
||||
>${msg("Go to Customer Portal")}</a
|
||||
>`
|
||||
|
|
Reference in New Issue