captchas are always required
This commit is contained in:
parent
9d93cd3a3a
commit
67a3c35d83
|
@ -888,7 +888,7 @@ class CaptchaWidget(CompositeWidget):
|
|||
question = _('What is the result of %(a)d %(op)s %(b)d?') % {
|
||||
'a': a, 'b': b, 'op': _(operator)}
|
||||
hint = _('Please answer this simple mathematical question as proof you are not a bot.')
|
||||
self.add(StringWidget, 'q', title = question, hint = hint)
|
||||
self.add(StringWidget, 'q', title = question, hint = hint, required=True)
|
||||
token['answer'] = str(answer)
|
||||
|
||||
def _parse(self, request):
|
||||
|
|
Loading…
Reference in New Issue