1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:14:27 +00:00
gitea/vendor/go.jolheiser.com/hcaptcha
John Olheiser 72636fd664
hCaptcha Support (#12594)
* Initial work on hCaptcha

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Use module

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Format

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* At least return and debug log a captcha error

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Pass context to hCaptcha

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Add context to recaptcha

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* fix lint

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Finish hcaptcha

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Update example config

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Apply error fix for recaptcha

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* Change recaptcha ChallengeTS to string

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: Andrew Thornton <art27@cantab.net>
2020-10-02 23:37:53 -04:00
..
.gitignore hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
error.go hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
go.mod hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
hcaptcha.go hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
LICENSE hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
Makefile hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
README.md hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00
response.go hCaptcha Support (#12594) 2020-10-02 23:37:53 -04:00

hCaptcha

This library was based on the hCaptcha server-side verification docs.

Example

License

MIT