diff --git a/seahub/settings.py b/seahub/settings.py index 27db3674cb..7da40c234f 100644 --- a/seahub/settings.py +++ b/seahub/settings.py @@ -320,6 +320,10 @@ SHARE_LINK_LOGIN_REQUIRED = False SHARE_LINK_EXPIRE_DAYS_MIN = 0 # 0 means no limit SHARE_LINK_EXPIRE_DAYS_MAX = 0 # 0 means no limit +# default expire days should be +# greater than or equal to MIN and less than or equal to MAX +SHARE_LINK_EXPIRE_DAYS_DEFAULT = 0 + # mininum length for the password of a share link SHARE_LINK_PASSWORD_MIN_LENGTH = 8 diff --git a/seahub/templates/js/templates.html b/seahub/templates/js/templates.html index f147b98e8e..d17ad47f2a 100644 --- a/seahub/templates/js/templates.html +++ b/seahub/templates/js/templates.html @@ -1205,7 +1205,7 @@ {% trans "Add auto expiration"%}