From 906248db38e0166244c4693a6234a588a1d915c1 Mon Sep 17 00:00:00 2001 From: "Francois @fanf42 Armand" Date: Fri, 5 Jan 2024 12:16:14 +0100 Subject: [PATCH] Fixes #23986: Remove warning about missing () --- .../main/scala/bootstrap/rudder/plugin/AuthBackendsConf.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth-backends/src/main/scala/bootstrap/rudder/plugin/AuthBackendsConf.scala b/auth-backends/src/main/scala/bootstrap/rudder/plugin/AuthBackendsConf.scala index 1c0f3afa6..b39ff4d44 100644 --- a/auth-backends/src/main/scala/bootstrap/rudder/plugin/AuthBackendsConf.scala +++ b/auth-backends/src/main/scala/bootstrap/rudder/plugin/AuthBackendsConf.scala @@ -149,7 +149,7 @@ object AuthBackendsConf extends RudderPluginModule { override def allowedToUseBackend(name: String): Boolean = { // same behavior for all authentication backends: only depends on the plugin status - pluginStatusService.isEnabled + pluginStatusService.isEnabled() } } @@ -159,7 +159,7 @@ object AuthBackendsConf extends RudderPluginModule { override def authenticationBackends: Set[String] = oauthBackendNames override def name: String = s"Oauth2 and OpenID Connect authentication backends provider: '${authenticationBackends.mkString("','")}" - override def allowedToUseBackend(name: String): Boolean = pluginStatusService.isEnabled + override def allowedToUseBackend(name: String): Boolean = pluginStatusService.isEnabled() }) lazy val isOauthConfiguredByUser = {