[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [bridgedb] 02/03: Send the captcha challenge on the https form



This is an automated email from the git hooks/post-receive script.

meskio pushed a commit to branch main
in repository bridgedb.

commit fee040af5acc58897d0dfe4e469223a2e128785c
Author: meskio <meskio@xxxxxxxxxxxxxx>
AuthorDate: Wed Aug 24 16:06:28 2022 +0200

    Send the captcha challenge on the https form
---
 frontend/templates/captcha.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/frontend/templates/captcha.html b/frontend/templates/captcha.html
index 5b3b8b3..07a85fd 100644
--- a/frontend/templates/captcha.html
+++ b/frontend/templates/captcha.html
@@ -11,7 +11,8 @@
       {% endif %}
     </div>
     <form action="" method="POST" class="d-flex">
-      <input type="text" id="bridgedb-captcha-input" class="form-control" placeholder="Enter the characters from the image above...">
+      {% raw %}<input type="hidden" name="captcha_challenge_field" value="${challenge_field}">{% endraw %}
+      <input type="text" id="bridgedb-captcha-input" name="captcha_response_field" class="form-control" placeholder="Enter the characters from the image above...">
       <button type="submit" class="btn btn-primary" id="bridgedb-captcha-submit"><span class="fa fa-level-down fa-rotate-90"></span></button>
     </form>
   </div>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits