mirror of https://github.com/cloudreve/Cloudreve
fix(captcha): change Cap default version to 1.x for backward compatibility
parent
37d4341693
commit
65a47008ab
|
@ -671,7 +671,7 @@ func (s *settingProvider) CapCaptcha(ctx context.Context) *Cap {
|
||||||
InstanceURL: s.getString(ctx, "captcha_cap_instance_url", ""),
|
InstanceURL: s.getString(ctx, "captcha_cap_instance_url", ""),
|
||||||
SiteKey: s.getString(ctx, "captcha_cap_key_id", ""),
|
SiteKey: s.getString(ctx, "captcha_cap_key_id", ""),
|
||||||
SecretKey: s.getString(ctx, "captcha_cap_key_secret", ""),
|
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"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue