Harden compliance portal auth and TLS
Align console references and OAuth branding with the compliance-page model, and fix certificate cache eviction, portal OAuth handlers, and magic-link edge cases left after the trust-center rename. Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
@@ -65,7 +65,7 @@ func (s *Service) PublicURLForCompliancePage(
|
||||
switch {
|
||||
case compliancePage.CustomDomainID != nil && byID[*compliancePage.CustomDomainID] != nil && active[*compliancePage.CustomDomainID]:
|
||||
host = byID[*compliancePage.CustomDomainID].Domain
|
||||
case compliancePage.DefaultDomainID != nil && byID[*compliancePage.DefaultDomainID] != nil:
|
||||
case compliancePage.DefaultDomainID != nil && byID[*compliancePage.DefaultDomainID] != nil && active[*compliancePage.DefaultDomainID]:
|
||||
host = byID[*compliancePage.DefaultDomainID].Domain
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user