From 75f6b0f98272691ec3eec8df6205eea0f2cb7e71 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 25 Jun 2022 03:47:08 +0400 Subject: [PATCH] Made captcha_answer field a required one. --- homepage/views/guestbook.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homepage/views/guestbook.pug b/homepage/views/guestbook.pug index f97ad93..b339bea 100644 --- a/homepage/views/guestbook.pug +++ b/homepage/views/guestbook.pug @@ -33,7 +33,7 @@ block content span.captcha input(type='hidden', name='captcha_id' value=captcha_id) 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 *Only I can see if set. input(type='submit' value='Send a post')