feat: add cloudflare turnstile captcha (#1327)

* feat: add cloudflare turnstile captcha

* fix: rename turnstile to cloudflare turnstile
This commit is contained in:
YiNN
2022-11-26 17:17:49 +08:00
committed by GitHub
parent b7cd598ee8
commit 5bb7a4153f
4 changed files with 88 additions and 0 deletions

View File

@ -145,6 +145,10 @@ export const OtherProviderInfo = {
logo: `${StaticBaseUrl}/img/social_geetest.png`,
url: "https://www.geetest.com",
},
"Cloudflare Turnstile": {
logo: `${StaticBaseUrl}/img/social_cloudflare.png`,
url: "https://www.cloudflare.com/products/turnstile/",
},
},
};
@ -695,6 +699,7 @@ export function getProviderTypeOptions(category) {
{id: "hCaptcha", name: "hCaptcha"},
{id: "Aliyun Captcha", name: "Aliyun Captcha"},
{id: "GEETEST", name: "GEETEST"},
{id: "Cloudflare Turnstile", name: "Cloudflare Turnstile"},
]);
} else {
return [];