Show More
@@ -15,6 +15,7 b' LimitPostingSpeed = false' | |||||
15 | PowDifficulty = 0 |
|
15 | PowDifficulty = 0 | |
16 | # Delay in seconds |
|
16 | # Delay in seconds | |
17 | PostingDelay = 30 |
|
17 | PostingDelay = 30 | |
|
18 | Autoban = false | |||
18 |
|
19 | |||
19 | [Messages] |
|
20 | [Messages] | |
20 | # Thread bumplimit |
|
21 | # Thread bumplimit |
@@ -273,7 +273,8 b' class PostForm(NeboardForm):' | |||||
273 | cleaned_data = super(PostForm, self).clean() |
|
273 | cleaned_data = super(PostForm, self).clean() | |
274 |
|
274 | |||
275 | if cleaned_data['email']: |
|
275 | if cleaned_data['email']: | |
276 | self.need_to_ban = True |
|
276 | if board_settings.get_bool('Forms', 'Autoban'): | |
|
277 | self.need_to_ban = True | |||
277 | raise forms.ValidationError('A human cannot enter a hidden field') |
|
278 | raise forms.ValidationError('A human cannot enter a hidden field') | |
278 |
|
279 | |||
279 | if not self.errors: |
|
280 | if not self.errors: |
General Comments 0
You need to be logged in to leave comments.
Login now