From 6cd30c100ca35812240528cb5142a4bf26e8bf2b Mon Sep 17 00:00:00 2001 From: Andrew Nowak Date: Fri, 3 May 2024 16:51:59 +0100 Subject: [PATCH] use lazy val for single PanDomainAuthSettingsRefresher --- common/app/http/GuardianAuthWithExemptions.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/app/http/GuardianAuthWithExemptions.scala b/common/app/http/GuardianAuthWithExemptions.scala index 91f9a18fa46..237c2fdbfaa 100644 --- a/common/app/http/GuardianAuthWithExemptions.scala +++ b/common/app/http/GuardianAuthWithExemptions.scala @@ -57,7 +57,7 @@ class GuardianAuthWithExemptions( case _ => s"local.dev-gutools.co.uk" // covers DEV, LOCAL, tests etc. } - override val panDomainSettings = + override lazy val panDomainSettings = new PanDomainAuthSettingsRefresher( domain = toolsDomainSuffix, system,