Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bb0623 commit 73e4f2fCopy full SHA for 73e4f2f
security/ldap.rst
@@ -149,6 +149,7 @@ use the ``ldap`` user provider.
149
search_password: password
150
default_roles: ROLE_USER
151
uid_key: uid
152
+ extra_fields: ['email']
153
154
.. code-block:: xml
155
@@ -189,6 +190,7 @@ use the ``ldap`` user provider.
189
190
'search_password' => 'password',
191
'default_roles' => 'ROLE_USER',
192
'uid_key' => 'uid',
193
+ 'extra_fields' => ['email'],
194
],
195
196
@@ -268,6 +270,14 @@ 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``.
272
273
+extra_fields
274
+............
275
+
276
+**type**: ``array`` **default**: ``null``
277
278
+This is the custom fields to pull from the LDAP server.
279
280
281
filter
282
......
283
0 commit comments