Made captcha_answer field a required one.

This commit is contained in:
Alexander Andreev 2022-06-25 03:47:08 +04:00
parent 7888256b69
commit 75f6b0f982
Signed by: Arav
GPG Key ID: 0388CC8FAA51063F

View File

@ -33,7 +33,7 @@ block content
span.captcha span.captcha
input(type='hidden', name='captcha_id' value=captcha_id) input(type='hidden', name='captcha_id' value=captcha_id)
img(src='/captcha/'+captcha_id+'/image', alt="CAPTCHA" width='160' height='40') img(src='/captcha/'+captcha_id+'/image', alt="CAPTCHA" width='160' height='40')
input(type='text' maxlength='6' placeholder='CAPTCHA' name='captcha_answer') input(type='text' maxlength='6' placeholder='CAPTCHA' name='captcha_answer' required)
small Will be valid for next #[b 10] minutes. small Will be valid for next #[b 10] minutes.
small *Only I can see if set. small *Only I can see if set.
input(type='submit' value='Send a post') input(type='submit' value='Send a post')