Fix custom domain prefix + cookie

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-01-15 18:20:48 +04:00
committed by Bryan Frimin
parent 334ca2c932
commit c5cd225d95
5 changed files with 7 additions and 7 deletions

View File

@@ -28,8 +28,8 @@ var (
)
func CompliancePageFromContext(ctx context.Context) *coredata.TrustCenter {
trustCenter, _ := ctx.Value(compliancePageKey).(*coredata.TrustCenter)
return trustCenter
page, _ := ctx.Value(compliancePageKey).(*coredata.TrustCenter)
return page
}
func ComplianceMembershipFromContext(ctx context.Context) *coredata.TrustCenterAccess {