From 1dd83af6aacf5f9269f53277728fbfeb5c2ec3e5 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Tue, 19 Mar 2024 22:45:04 +0100 Subject: [PATCH] chore(oauth2): fix syntax --- src/Application.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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