diff options
Diffstat (limited to 'Mailman/Defaults.py.in')
-rwxr-xr-x | Mailman/Defaults.py.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index 2b0aa3ed..be1ac735 100755 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -117,8 +117,8 @@ FORM_LIFETIME = hours(1) # This hash is checked upon form submission and the subscribe fails if it # doesn't match. I.e. the form posted must be first retrieved from the # listinfo CGI by the same IP that posts it. The subscribe also fails if -# the time the form was retrieved is more than the above FORM_LIFETIME -# before submission. +# the time the form was retrieved is more than the above FORM_LIFETIME or less +# than the below SUBSCRIBE_FORM_MIN_TIME before submission. # Important: If you have any static subscribe forms on your web site, setting # this option will break them. With this option set, subscribe forms must be # dynamically generated to include the hidden data. See the code block @@ -126,6 +126,11 @@ FORM_LIFETIME = hours(1) # for the details of the hidden data. SUBSCRIBE_FORM_SECRET = None +# If SUBSCRIBE_FORM_SECRET is not None, this is the minimum time the user must +# take after retrieving the form before submitting it. Set to 0 to skip this +# test. +SUBSCRIBE_FORM_MIN_TIME = seconds(5) + # Command that is used to convert text/html parts into plain text. This # should output results to standard output. %(filename)s will contain the # name of the temporary file that the program should operate on. |