Skip to content

Commit 69cb1d4

Browse files
committed
Minor reword
1 parent f70d243 commit 69cb1d4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

security/ldap.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ implementation. Commonly used values are:
266266
* ``userPrincipalName``
267267
* ``uid``
268268

269-
If you configure the value ``null`` for the UID key, the default UID key
270-
``sAMAccountName`` is used.
269+
If you pass ``null`` as the value of this option, the default UID key is used
270+
``sAMAccountName``.
271271

272272
filter
273273
......
@@ -282,8 +282,8 @@ replaced by the username you are trying to load.
282282
For example, with a ``uid_key`` of ``uid``, and if you are trying to
283283
load the user ``fabpot``, the final string will be: ``(uid=fabpot)``.
284284

285-
If you configure this key with the value ``null``, the default filter
286-
``({uid_key}={username})`` is used.
285+
If you pass ``null`` as the value of this option, the default filter is used
286+
``({uid_key}={username})``.
287287

288288
Of course, the username will be escaped, in order to prevent `LDAP injection`_.
289289

0 commit comments

Comments
 (0)