fix(captcha): change Cap default version to 1.x for backward compatibility

pull/2573/head
WittF 2025-06-26 05:23:17 +08:00
parent 37d4341693
commit 65a47008ab
1 changed files with 1 additions and 1 deletions

View File

@ -671,7 +671,7 @@ func (s *settingProvider) CapCaptcha(ctx context.Context) *Cap {
InstanceURL: s.getString(ctx, "captcha_cap_instance_url", ""),
SiteKey: s.getString(ctx, "captcha_cap_key_id", ""),
SecretKey: s.getString(ctx, "captcha_cap_key_secret", ""),
Version: s.getString(ctx, "captcha_cap_version", "2.x"),
Version: s.getString(ctx, "captcha_cap_version", "1.x"),
}
}