You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Actually, if you use memory provider, you can only define few attributes (username, password, roles).
It will be nice, if you can define custom attributes.
@acantepie this issue should be closed as PR wont be merged for now
as a solution it is proposed to leverage an internal memory provider as explain in the PR comments flow :)
Description
Actually, if you use memory provider, you can only define few attributes (username, password, roles).
It will be nice, if you can define custom attributes.
Example
security.yml
Somewhere.php
$user->getExtraFields()['gender'];
Class
Symfony\Component\Security\Core\User\User
already has $extraFields attribute.The text was updated successfully, but these errors were encountered: