pk910 / PoWFaucet

Modularized faucet for EVM chains with different protection methods (Captcha, Mining, IP, Mainnet Balance, Gitcoin Passport and more)
GNU Affero General Public License v3.0
3.8k stars 1.4k forks source link

Use Cloudflare Turnstile in captcha module #251

Open air3ijai opened 1 week ago

air3ijai commented 1 week ago

As per documentation Module: captcha, faucet supports

Also, there are some closed issues, related to the Cloudflare Turnstile. But I can't find anything related to it in the code or git log.

Is there a way to use Turnstile in the captcha module?

pk910 commented 1 week ago

Good point :)

I'm currently using the turnstile captcha via a custom captcha implementation that basically allows randomizing the type of captcha for each visitor. Turnstile is part of that "adapter script", but not actually supported by the faucet itself.

I'll gonna add proper support for the turnstile captcha when I have time - shouldn't be a big thing :)