diff --git a/src/Application.hs b/src/Application.hs index fca9e7038..837f3a536 100644 --- a/src/Application.hs +++ b/src/Application.hs @@ -366,9 +366,9 @@ makeFoundation appSettings''@AppSettings{..} = do -> error "Tenant ID missing!" oauth2Plugins | UserAuthConfSingleSource (AuthSourceConfAzure AzureConf{..}) appUserAuthConf - -> singleton $ oauth2AzureADScoped (Set.toList azureConfScopes) azureConfClientId azureConfClientSecret + = singleton $ oauth2AzureADScoped (Set.toList azureConfScopes) azureConfClientId azureConfClientSecret | otherwise - -> mempty + = mempty #endif let appAuthPlugins = oauth2Plugins