Update ldap.md
Wrap code in code block
This commit is contained in:
@@ -113,7 +113,10 @@ AUTH_LDAP_GROUP_CACHE_TIMEOUT = 3600
|
||||
|
||||
!!! info
|
||||
It is also possible map user attributes to Django attributes:
|
||||
|
||||
```no-highlight
|
||||
AUTH_LDAP_USER_ATTR_MAP = {
|
||||
"first_name": "givenName",
|
||||
"last_name": "sn"
|
||||
}
|
||||
```
|
||||
|
Reference in New Issue
Block a user