mirror of https://github.com/jumpserver/jumpserver
[Update] 修复上传录像文件,无法读取的问题
parent
bb13003a10
commit
5c8fd91cf9
|
@ -355,6 +355,10 @@ AUTHENTICATION_BACKENDS = [
|
||||||
# Custom User Auth model
|
# Custom User Auth model
|
||||||
AUTH_USER_MODEL = 'users.User'
|
AUTH_USER_MODEL = 'users.User'
|
||||||
|
|
||||||
|
# File Upload Permissions
|
||||||
|
FILE_UPLOAD_PERMISSIONS = 0o644
|
||||||
|
FILE_UPLOAD_DIRECTORY_PERMISSIONS = 0o755
|
||||||
|
|
||||||
# Auth LDAP settings
|
# Auth LDAP settings
|
||||||
AUTH_LDAP = CONFIG.AUTH_LDAP
|
AUTH_LDAP = CONFIG.AUTH_LDAP
|
||||||
AUTH_LDAP_SERVER_URI = CONFIG.AUTH_LDAP_SERVER_URI
|
AUTH_LDAP_SERVER_URI = CONFIG.AUTH_LDAP_SERVER_URI
|
||||||
|
|
Loading…
Reference in New Issue