[Update] 修复上传录像文件,无法读取的问题

pull/1771/head
ibuler 6 years ago
parent bb13003a10
commit 5c8fd91cf9

@ -355,6 +355,10 @@ AUTHENTICATION_BACKENDS = [
# Custom User Auth model
AUTH_USER_MODEL = 'users.User'
# File Upload Permissions
FILE_UPLOAD_PERMISSIONS = 0o644
FILE_UPLOAD_DIRECTORY_PERMISSIONS = 0o755
# Auth LDAP settings
AUTH_LDAP = CONFIG.AUTH_LDAP
AUTH_LDAP_SERVER_URI = CONFIG.AUTH_LDAP_SERVER_URI

Loading…
Cancel
Save