chore: fix merge oopsie contd
This commit is contained in:
parent
72938e41ba
commit
5662a2d1f1
@ -626,7 +626,6 @@ instance FromJSON AppSettings where
|
||||
appWebpackEntrypoints <- o .: "webpack-manifest"
|
||||
appDatabaseConf <- o .: "database"
|
||||
appAutoDbMigrate <- o .: "auto-db-migrate"
|
||||
<<<<<<< HEAD
|
||||
-- TODO: reintroduce non-emptyness check for ldap hosts
|
||||
-- let nonEmptyHost (UserDbLdap LdapConf{..}) = case ldapHost of
|
||||
-- Ldap.Tls host _ -> not $ null host
|
||||
@ -635,13 +634,7 @@ instance FromJSON AppSettings where
|
||||
appUserAuthConf <- o .: "user-auth"
|
||||
-- P.fromList . mapMaybe (assertM nonEmptyHost) <$> o .:? "user-database" .!= []
|
||||
appLdapPoolConf <- o .:? "ldap-pool"
|
||||
=======
|
||||
appSingleSignOn <- o .: "single-sign-on"
|
||||
let nonEmptyHost LdapConf{..} = case ldapHost of
|
||||
Ldap.Tls host _ -> not $ null host
|
||||
Ldap.Plain host -> not $ null host
|
||||
appLdapConf <- P.fromList . mapMaybe (assertM nonEmptyHost) <$> o .:? "ldap" .!= []
|
||||
>>>>>>> 139-single-sign-on-sso-routing-anpassen
|
||||
appLmsConf <- o .: "lms-direct"
|
||||
appAvsConf <- assertM (not . null . avsPass) <$> o .:? "avs"
|
||||
appLprConf <- o .: "lpr"
|
||||
|
||||
Reference in New Issue
Block a user