Skip to content
Snippets Groups Projects
Commit 024765dc authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Recuperation de la bonne config

parent 104946df
No related branches found
No related tags found
No related merge requests found
Pipeline #22207 passed
......@@ -33,7 +33,7 @@ class UsernameServiceFactory implements FactoryInterface
$authService = $container->get('zfcuser_auth_service'); /* @var $authService \Laminas\Authentication\AuthenticationService */
// $authService = $container->get('Laminas\Authentication\AuthenticationService'); /* @var $authService \Laminas\Authentication\AuthenticationService */
$usernamefield = $config['unicaen-auth']['local']['ldap']['username'];
$usernamefield = $container->get('Config')['unicaen-auth']['local']['ldap']['username'];
return new Username($authService, $providerConfig);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment