Loading src/UnicaenUtilisateur/Entity/Db/AbstractUser.php +1 −1 Original line number Diff line number Diff line Loading @@ -102,7 +102,7 @@ abstract class AbstractUser implements UserInterface, ProviderInterface, Recherc * * @return string */ public function getUsername(string $attribut = "supannAliasLogin") public function getUsername(?string $attribut = null) { return $this->username; } Loading src/UnicaenUtilisateur/Provider/Role/UsernameServiceFactory.php +0 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,6 @@ 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 = $container->get('Config')['unicaen-auth']['local']['ldap']['username']; return new Username($authService, $providerConfig); } } No newline at end of file Loading
src/UnicaenUtilisateur/Entity/Db/AbstractUser.php +1 −1 Original line number Diff line number Diff line Loading @@ -102,7 +102,7 @@ abstract class AbstractUser implements UserInterface, ProviderInterface, Recherc * * @return string */ public function getUsername(string $attribut = "supannAliasLogin") public function getUsername(?string $attribut = null) { return $this->username; } Loading
src/UnicaenUtilisateur/Provider/Role/UsernameServiceFactory.php +0 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,6 @@ 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 = $container->get('Config')['unicaen-auth']['local']['ldap']['username']; return new Username($authService, $providerConfig); } } No newline at end of file