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

[share] Add setting for share link audit code timeout

This commit is contained in:
zhengxie
2017-10-11 10:09:03 +08:00
parent 674a150fc8
commit 46c4b490b6
2 changed files with 6 additions and 3 deletions

View File

@@ -287,6 +287,9 @@ SHARE_LINK_PASSWORD_MIN_LENGTH = 8
# enable or disable share link audit
ENABLE_SHARE_LINK_AUDIT = False
# share link audit code timeout
SHARE_LINK_AUDIT_CODE_TIMEOUT = 60 * 60
# enable or disable limit ip
ENABLE_LIMIT_IPADDRESS = False
TRUSTED_IP_LIST = ['127.0.0.1']