Skip to content

refactor(captcha): update Cap to 2.0.0 #2573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 26, 2025
Merged

refactor(captcha): update Cap to 2.0.0 #2573

merged 6 commits into from
Jun 26, 2025

Conversation

WittF
Copy link
Contributor

@WittF WittF commented Jun 25, 2025

V1 版本已不再主动维护,且 Cloudreve 才适配该验证码方式一周不到,估计使用的用户不多,个人认为向后兼容并无意义(做了又删了),所以直接移除了 V1 的实现。

更新到 Cap 2.0.0 ,适配了新的字段和 API 调用方式:

captcha_cap_key_idcaptcha_cap_site_key
captcha_cap_key_secretcaptcha_cap_secret_key
/{capKeyID}/api//{siteKey}/

已在 Cap V2.0.0 版本测试该 PR 可用。

Cap Releases:
https://github.com/tiagorangel1/cap/releases/tag/standalone@2.0.0

@HFO4 HFO4 merged commit 2500ebc into cloudreve:master Jun 26, 2025
2 checks passed
@HFO4
Copy link
Member

HFO4 commented Jun 26, 2025

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants