aerni / statamic-livewire-forms

Supercharge your Statamic forms with Livewire
https://statamic.com/addons/aerni/livewire-forms
Other
28 stars 2 forks source link

Change ReCaptcha caching to use hash #32

Closed godismyjudge95 closed 1 year ago

godismyjudge95 commented 1 year ago

Changing ReCaptcha caching method to use a has of the response rather than the raw response, since certain Cache drivers (ie. memcached) don't support large keys (memcached limit is 250 bytes).

Already tested this on a live site and it works properly while still supporting memcached.

aerni commented 1 year ago

Thanks a lot. I fixed a bug with your code and made some small improvements.