ambethia / recaptcha

ReCaptcha helpers for ruby apps
http://github.com/ambethia/recaptcha
MIT License
1.96k stars 439 forks source link

Configure response limit #403

Closed theirix closed 2 years ago

theirix commented 2 years ago

Introduce a configurable response limit for the response. PR #309 introduced a pre-check for captcha response. A limit of 4000 bytes works good for reCapctha but API-compatible hCaptcha produces much larger responses. This PR allows to set a custom limit and therefore use hHaptcha.

Pre-Merge Checklist

theirix commented 2 years ago

Sure, good idea!

grosser commented 2 years ago

5.9.0