mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
chore: cfTurnstile
This commit is contained in:
@@ -5,23 +5,23 @@ import { CaptchaRequest, ICaptchaAddon } from "../api.js";
|
|||||||
addonType: "captcha",
|
addonType: "captcha",
|
||||||
name: "cfTurnstile",
|
name: "cfTurnstile",
|
||||||
title: "Cloudflare Turnstile",
|
title: "Cloudflare Turnstile",
|
||||||
desc: "",
|
desc: "谨慎使用,国内被墙了",
|
||||||
showTest: false,
|
showTest: false,
|
||||||
})
|
})
|
||||||
export class CfTurnstileCaptcha extends BaseAddon implements ICaptchaAddon {
|
export class CfTurnstileCaptcha extends BaseAddon implements ICaptchaAddon {
|
||||||
|
|
||||||
@AddonInput({
|
@AddonInput({
|
||||||
title: "SiteKey",
|
title: "站点密钥",
|
||||||
component: {
|
component: {
|
||||||
placeholder: "SiteKey",
|
placeholder: "SiteKey",
|
||||||
},
|
},
|
||||||
helper: "[Cloudflare Turnstile](https://www.cloudflare.com/zh-cn/application-services/products/turnstile/)",
|
helper: "[Cloudflare Turnstile](https://www.cloudflare.com/zh-cn/application-services/products/turnstile/) -> 添加小组件",
|
||||||
required: true,
|
required: true,
|
||||||
})
|
})
|
||||||
siteKey = "";
|
siteKey = "";
|
||||||
|
|
||||||
@AddonInput({
|
@AddonInput({
|
||||||
title: "SecretKey",
|
title: "密钥",
|
||||||
component: {
|
component: {
|
||||||
placeholder: "SecretKey",
|
placeholder: "SecretKey",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user