From d478f65ba012033751860932416ebb276bd748f6 Mon Sep 17 00:00:00 2001 From: towards-a-new-leftypol Date: Fri, 7 Jun 2024 15:07:25 -0400 Subject: [PATCH] Fix a bug with i2p captcha - if captcha_tor_only is set to true, posting over i2p requires a captcha but the javascript code removes it. Add a check to see if we're on a .i2p domain in this case. --- templates/post_form.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/templates/post_form.html b/templates/post_form.html index a8ddf51d..1c280ceb 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -116,9 +116,9 @@ {% if config.captcha_tor_only %} - {% else %} {% endif %} {% endif %} {% if config.user_flag %}