Loading src/UnicaenUtilisateur/Provider/Role/UsernameServiceFactory.php +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
src/UnicaenUtilisateur/Provider/Role/UsernameServiceFactory.php +1 −1 Original line number Diff line number Diff line Loading @@ -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