Loading src/UnicaenAuthentification/Provider/Identity/LdapServiceFactory.php +2 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,8 @@ class LdapServiceFactory implements FactoryInterface $simpleIdentityProvider->setDefaultRole($config['default_role']); $simpleIdentityProvider->setAuthenticatedRole($config['authenticated_role']); $usernamefield = $config['unicaen-auth']['local']['ldap']['username']; $usernamefield = $container->get('Config')['unicaen-auth']['local']['ldap']['username']; $simpleIdentityProvider->setUsernamefield($usernamefield); return $simpleIdentityProvider; Loading src/UnicaenAuthentification/Service/UserContextFactory.php +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ class UserContextFactory // mais c'est impossible pour l'instant car il y a un cycle dans les dépendances entre services qui // provoque une boucle infinie. // $usernamefield = $config['unicaen-auth']['local']['ldap']['username']; $usernamefield = $container->get('Config')['unicaen-auth']['local']['ldap']['username']; $service->setUsernamefield($usernamefield); return $service; } Loading Loading
src/UnicaenAuthentification/Provider/Identity/LdapServiceFactory.php +2 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,8 @@ class LdapServiceFactory implements FactoryInterface $simpleIdentityProvider->setDefaultRole($config['default_role']); $simpleIdentityProvider->setAuthenticatedRole($config['authenticated_role']); $usernamefield = $config['unicaen-auth']['local']['ldap']['username']; $usernamefield = $container->get('Config')['unicaen-auth']['local']['ldap']['username']; $simpleIdentityProvider->setUsernamefield($usernamefield); return $simpleIdentityProvider; Loading
src/UnicaenAuthentification/Service/UserContextFactory.php +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ class UserContextFactory // mais c'est impossible pour l'instant car il y a un cycle dans les dépendances entre services qui // provoque une boucle infinie. // $usernamefield = $config['unicaen-auth']['local']['ldap']['username']; $usernamefield = $container->get('Config')['unicaen-auth']['local']['ldap']['username']; $service->setUsernamefield($usernamefield); return $service; } Loading