Skip to content

Release/20260430 - #513

Open
KadenZhang3321 wants to merge 4 commits into
reviewfrom
release/20260430
Open

Release/20260430#513
KadenZhang3321 wants to merge 4 commits into
reviewfrom
release/20260430

Conversation

@KadenZhang3321

Copy link
Copy Markdown
Collaborator

描述

验证码功能合入主分支

相关 Issue

https://github.com/opensourceways/backlog/issues/45

变更类型

  • Bug 修复
  • 新功能
  • 代码重构
  • 文档更新
  • 样式改进
  • 性能优化
  • 测试相关
  • 其他

ZhangYang and others added 4 commits April 24, 2026 17:58
- 添加登录图形验证码功能,防止暴力破解
- 安全修复:降低圈复杂度、添加 switch default、提取字符串常量
- 将控制器中所有硬编码路由参数字符串替换为定义的常量(ParamLinkID、ParamSigningID、ParamEmail、ParamApplyTo)
- 删除未使用的 linkIDKey、signingIDKey、applyToKey 常量
- 修复 fillLoginResult 吞掉隐私协议校验和角色获取错误的问题
- 修复 Redis 故障时验证码校验被绕过的问题(fail-open -> fail-closed)
- 修复 checkCorpSummary 吞掉数据库错误的问题
- 删除冗余的 setVCDefaults 函数
feat: 添加登录图形验证码功能
fix: upgrade Go from 1.25.9 to 1.25.10 to fix CVEs
@opensourceways-bot

Copy link
Copy Markdown
Contributor

Welcome To opensourceways Community

Hey @KadenZhang3321 , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: infratructure ,
and any of the maintainers: @GeorgeCao-hw, @TangJia025, @pkking, @zhongjun2 ,
and any of the committers: @JavaPythonAIForBAT, @Zherphy, @tfhddd, @zhongjun2 .

@opensourceways-bot

Copy link
Copy Markdown
Contributor

CLA Signature Guide

@KadenZhang3321 , thanks for your pull request.

The following commit(s) are not associated with a signed Contributor License Agreement (CLA).

Commit Reason
2ccd301f feat: 添加登录图形验证��... the email used in the commit is not linked to a signed CLA!
please verify that it matches the email you used when signing the CLA.

To sign CLA, click here.

To check if your email is configured correctly, refer to the FAQs.

Once you've signed the CLA or updating your email, please comment /check-cla to revalidate CLA status.

@opensourceways-bot

Copy link
Copy Markdown
Contributor

Linking Issue Notice

@KadenZhang3321 , the pull request must be linked to at least one issue.
If an issue has already been linked, but the needs-issue label remains, you can remove the label by commenting /check-issue .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants