From 3415a47ca7e697f547d278ef3abb311ba6f58582 Mon Sep 17 00:00:00 2001 From: skywalker Date: Tue, 10 Sep 2024 10:56:00 +0800 Subject: [PATCH] update 11.0 seahub_custom_functions --- manual/deploy_pro/ldap_in_11.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/deploy_pro/ldap_in_11.0.md b/manual/deploy_pro/ldap_in_11.0.md index 95327c86a..5d4ae15db 100644 --- a/manual/deploy_pro/ldap_in_11.0.md +++ b/manual/deploy_pro/ldap_in_11.0.md @@ -407,7 +407,7 @@ To enable this feature, add below option to `seahub_settings.py`, e.g. LDAP_USER_ROLE_ATTR = 'title' ``` -`LDAP_USER_ROLE_ATTR` is the attribute field to configure roles in LDAP. You can write a custom function to map the role by creating a file `custom_functions.py` under conf/ and edit it like: +`LDAP_USER_ROLE_ATTR` is the attribute field to configure roles in LDAP. You can write a custom function to map the role by creating a file `seahub_custom_functions.py` under conf/ and edit it like: ```python # -*- coding: utf-8 -*-