hCaptcha Support#12594
Conversation
Signed-off-by: jolheiser <john.olheiser@gmail.com>
|
Option 2 makes sense, perhaps we could also use the lessons learned from your library and apply them to the recaptcha one. |
Signed-off-by: jolheiser <john.olheiser@gmail.com>
# Conflicts: # go.mod # vendor/modules.txt # web_src/less/_form.less
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Codecov Report
@@ Coverage Diff @@
## master #12594 +/- ##
==========================================
- Coverage 42.59% 42.57% -0.02%
==========================================
Files 671 672 +1
Lines 73625 73676 +51
==========================================
+ Hits 31363 31370 +7
- Misses 37180 37228 +48
+ Partials 5082 5078 -4
Continue to review full report at Codecov.
|
zeripath
left a comment
There was a problem hiding this comment.
We need some way of cancelling these calls. They're potentially preventing Gitea shutdown and I wonder if they could be used in a port exhaustion attack.
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signed-off-by: jolheiser <john.olheiser@gmail.com>
|
@zeripath Done. 🙂 |
|
Golangci-lint demands a sacrifice... Done |
|
I'd argue this could go into 1.13 as it's ready to be merged |
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Signed-off-by: jolheiser <john.olheiser@gmail.com>
|
A few things to note with the latest changes...
|
This PR aims to add support for hCaptcha
Related to #12582, but may not completely close it.
Since the captcha errors aren't necessarily meaningful to translate to end-users, for now they are just being debug-logged (previously they weren't handled at all, so this is an improvement???)