refactor(captcha): update Cap to 2.0.0 (#2573)
* refactor(captcha): update Cap backend to 2.0.0 API format * feat(captcha): add Cap version config for 1.x/2.x compatibility * fix(captcha): change Cap default version to 1.x for backward compatibility * refactor(captcha): remove Cap 1.x compatibility, keep only 2.x support * feat(captcha): update field names to Cap 2.0 standard - Site Key and Secret Key * fix(captcha): update Cap field names in defaults configuration
This commit is contained in:
@@ -393,8 +393,8 @@ var DefaultSettings = map[string]string{
|
||||
"captcha_turnstile_site_key": "",
|
||||
"captcha_turnstile_site_secret": "",
|
||||
"captcha_cap_instance_url": "",
|
||||
"captcha_cap_key_id": "",
|
||||
"captcha_cap_key_secret": "",
|
||||
"captcha_cap_site_key": "",
|
||||
"captcha_cap_secret_key": "",
|
||||
"thumb_width": "400",
|
||||
"thumb_height": "300",
|
||||
"thumb_entity_suffix": "._thumb",
|
||||
|
||||
Reference in New Issue
Block a user