Skip to content

Commit

Permalink
Fixes #23986: Remove warning about missing ()
Browse files Browse the repository at this point in the history
  • Loading branch information
fanf committed Jan 5, 2024
1 parent 534ad8d commit 906248d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
}

Expand All @@ -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 = {
Expand Down

0 comments on commit 906248d

Please sign in to comment.