feat: support reCAPTCHA v3 captcha provider (#3130)

This commit is contained in:
ZhaoYP 2001
2024-08-20 17:29:37 +08:00
committed by GitHub
parent 85cbb7d074
commit a0d6f2125e
3 changed files with 25 additions and 4 deletions

View File

@ -24,7 +24,9 @@ func GetCaptchaProvider(captchaType string) CaptchaProvider {
switch captchaType {
case "Default":
return NewDefaultCaptchaProvider()
case "reCAPTCHA":
case "reCAPTCHA v2":
return NewReCaptchaProvider()
case "reCAPTCHA v3":
return NewReCaptchaProvider()
case "Aliyun Captcha":
return NewAliyunCaptchaProvider()