Show More
@@ -15,6 +15,7 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,6 +273,7 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 | if board_settings.get_bool('Forms', 'Autoban'): | |||
276 | self.need_to_ban = True |
|
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 |
General Comments 0
You need to be logged in to leave comments.
Login now