wyx2685 / v2board

🚀A multiple proxy protocol manage panel application interface
MIT License
565 stars 168 forks source link

由于google recaptcha在大陆打不开,希望大佬能改成Cloudflare Turnstile验证 #108

Closed notetoday closed 4 weeks ago

notetoday commented 2 months ago

由于google recaptcha在大陆打不开,希望大佬能改成Cloudflare Turnstile验证

purelolly commented 2 months ago

vendor/google/recaptcha/src/ReCaptcha/ReCaptcha.php 第52行 public const SITE_VERIFY_URL = 'https://recaptcha.net/recaptcha/api/siteverify'; 更改 public const SITE_VERIFY_URL = 'https://challenges.cloudflare.com/turnstile/v0/siteverify';

public/theme/default/assets/umi.js

第18161行 return "https://www.google.com/recaptcha/api.js?onload=".concat(x, "&render=explicit") 更改 return "https://challenges.cloudflare.com/turnstile/v0/api.js?onload=".concat(x, "&render=explicit")

imrelax commented 1 month ago

期待提交到代码里面合并上去哦!!

wyx2685 commented 1 month ago

@imrelax 这个修改需要部署安装完才能改,没法合

imrelax commented 1 month ago

那有没有可能在后台新作个功能。如比选项。选择谷歌还是cloudflare。 这样然后把cloudflare的功能单独做出来。这样可以把?

wyx2685 commented 1 month ago

@imrelax 会做就做吧 我不会

tools5 commented 1 month ago

@imrelax 你提交代码