File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ use the ``ldap`` user provider.
149149 search_password : password
150150 default_roles : ROLE_USER
151151 uid_key : uid
152+ extra_fields : ['email']
152153
153154 .. code-block :: xml
154155
@@ -189,6 +190,7 @@ use the ``ldap`` user provider.
189190 'search_password' => 'password',
190191 'default_roles' => 'ROLE_USER',
191192 'uid_key' => 'uid',
193+ 'extra_fields' => ['email'],
192194 ],
193195 ],
194196 ],
@@ -268,6 +270,15 @@ implementation. Commonly used values are:
268270If you pass ``null `` as the value of this option, the default UID key is used
269271``sAMAccountName ``.
270272
273+ extra_fields
274+ ............
275+
276+ **type **: ``array `` **default **: ``null ``
277+
278+ This is the custom fields to pull from the LDAP server. If the fields does not
279+ exists it will throw an \I nvalidArgumentException.
280+
281+
271282filter
272283......
273284
You can’t perform that action at this time.
0 commit comments