Loading config/module.config.php +1 −1 Original line number Diff line number Diff line Loading @@ -329,7 +329,7 @@ return [ ], // telling ZfcUser to use our own class 'user_entity_class' => 'UnicaenAuthentification\Entity\Db\User', 'user_entity_class' => 'UnicaenUtilisateur\Entity\Db\User', // telling ZfcUserDoctrineORM to skip the entities it defines 'enable_default_entities' => false, ], Loading src/UnicaenAuthentification/Entity/Ldap/People.php +4 −3 Original line number Diff line number Diff line Loading @@ -18,20 +18,20 @@ class People extends BasePeople implements UserInterface, ProviderInterface /** * @var string */ protected string $usernameAttributeName = 'supannAliasLogin'; protected string $usernameAttributeName = 'supannaliaslogin'; /** * @param string $usernameAttributeName * @return People */ public function setUsernameAttributeName(string $usernameAttributeName): People public function setUsernameAttributeName(string $usernameAttributeName) : self { $this->usernameAttributeName = $usernameAttributeName; return $this; } /** * Constructeur. * Loading @@ -42,6 +42,7 @@ class People extends BasePeople implements UserInterface, ProviderInterface if ($data instanceof BasePeople) { $data = $data->getData(); } parent::__construct($data); } Loading Loading
config/module.config.php +1 −1 Original line number Diff line number Diff line Loading @@ -329,7 +329,7 @@ return [ ], // telling ZfcUser to use our own class 'user_entity_class' => 'UnicaenAuthentification\Entity\Db\User', 'user_entity_class' => 'UnicaenUtilisateur\Entity\Db\User', // telling ZfcUserDoctrineORM to skip the entities it defines 'enable_default_entities' => false, ], Loading
src/UnicaenAuthentification/Entity/Ldap/People.php +4 −3 Original line number Diff line number Diff line Loading @@ -18,20 +18,20 @@ class People extends BasePeople implements UserInterface, ProviderInterface /** * @var string */ protected string $usernameAttributeName = 'supannAliasLogin'; protected string $usernameAttributeName = 'supannaliaslogin'; /** * @param string $usernameAttributeName * @return People */ public function setUsernameAttributeName(string $usernameAttributeName): People public function setUsernameAttributeName(string $usernameAttributeName) : self { $this->usernameAttributeName = $usernameAttributeName; return $this; } /** * Constructeur. * Loading @@ -42,6 +42,7 @@ class People extends BasePeople implements UserInterface, ProviderInterface if ($data instanceof BasePeople) { $data = $data->getData(); } parent::__construct($data); } Loading