From f29055a91be6d089658168964644836b22a5926b Mon Sep 17 00:00:00 2001 From: Steffen Jost Date: Mon, 27 Mar 2023 15:00:43 +0000 Subject: [PATCH] chore(login): remove obselete search for lmu logins --- src/Auth/LDAP.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth/LDAP.hs b/src/Auth/LDAP.hs index 18478bb34..329bb0a29 100644 --- a/src/Auth/LDAP.hs +++ b/src/Auth/LDAP.hs @@ -61,7 +61,7 @@ findUser conf@LdapConf{..} ldap ident retAttrs = fromMaybe [] <$> findM (assertM , ldapUserPrincipalName Ldap.:= Text.encodeUtf8 [st|#{ident}@fraport.de|] ] ++ [ ldapUserEmail' Ldap.:= Text.encodeUtf8 ident' - | ident' <- [ident, [st|#{ident}@lmu.de|], [st|#{ident}@fraport.de|]] + | ident' <- [ident, [st|#{ident}@fraport.de|]] , ldapUserEmail' <- toList ldapUserEmail -- ] ++ -- [ ldapUserDisplayName Ldap.:= Text.encodeUtf8 ident -- for Fraport, userDisplayName has the pattern "Surname, Firstnames"