1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 22:01:06 +00:00

Added FORCE_SERVER_CRYPTO option

This commit is contained in:
zhengxie
2013-12-06 14:36:06 +08:00
parent 3cc6f77a41
commit ec9ff77ed7
6 changed files with 20 additions and 3 deletions

View File

@@ -189,6 +189,9 @@ SHOW_REPO_DOWNLOAD_BUTTON = False
# mininum length for password of encrypted library
REPO_PASSWORD_MIN_LENGTH = 6
# Using server side crypto by default, otherwise, let user choose crypto method.
FORCE_SERVER_CRYPTO = True
# File preview
FILE_PREVIEW_MAX_SIZE = 30 * 1024 * 1024
OFFICE_PREVIEW_MAX_SIZE = 2 * 1024 * 1024