File tree 1 file changed +11
-0
lines changed
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.
149
149
search_password : password
150
150
default_roles : ROLE_USER
151
151
uid_key : uid
152
+ extra_fields : ['email']
152
153
153
154
.. code-block :: xml
154
155
@@ -189,6 +190,7 @@ use the ``ldap`` user provider.
189
190
'search_password' => 'password',
190
191
'default_roles' => 'ROLE_USER',
191
192
'uid_key' => 'uid',
193
+ 'extra_fields' => ['email'],
192
194
],
193
195
],
194
196
],
@@ -268,6 +270,15 @@ implementation. Commonly used values are:
268
270
If you pass ``null `` as the value of this option, the default UID key is used
269
271
``sAMAccountName ``.
270
272
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
+
271
282
filter
272
283
......
273
284
You can’t perform that action at this time.
0 commit comments