Skip to content
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

重做登录注册组件 #142

Merged
merged 16 commits into from
Nov 16, 2024
Merged

重做登录注册组件 #142

merged 16 commits into from
Nov 16, 2024

Conversation

putianyi889
Copy link
Collaborator

@putianyi889 putianyi889 commented Oct 14, 2024

代码结构改动

  • 登录、注册、找回密码的对话框各自独立成组件
  • 邮箱表单项独立成组件
  • (图形验证码+邮箱验证码)的组合独立成组件
  • (密码+确认密码)的组合独立成组件
  • 添加三个依赖,两个用于字符串验证,一个用于倒计时
  • store里直接把store创建好而不是仅输出useStore的函数。这样就可以在ts文件中使用了
  • 通知功能从原来的utils里移动到components

功能性改动

  • 后端的用户名长度限制改成30(前端目前还是20没改)
  • 需要查重的项目在前端输入结束后立刻通过check_collision查重
  • Login组件的所有表单都配置了完备的验证功能,引导用户无障碍使用
  • 前端发送邮箱验证码添加60秒冷却
  • EMAIL_SKIP设置为True时,原本是跳过所有相关检查,现在为了调试,仅跳过发送邮件的过程,直接在response里放上验证码

putianyi889 and others added 6 commits October 14, 2024 13:30
改的太多了,PR细说

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@putianyi889 putianyi889 marked this pull request as ready for review October 15, 2024 15:01
@putianyi889 putianyi889 marked this pull request as draft October 15, 2024 15:04
putianyi889 and others added 7 commits October 16, 2024 09:45
fix
fix
fix

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@putianyi889
Copy link
Collaborator Author

图形验证码验证失败后应当取消邮箱验证码的冷却

@putianyi889
Copy link
Collaborator Author

设置页进不去,显示找不到IdentifierManager

putianyi889 and others added 3 commits November 10, 2024 18:49
fix

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@putianyi889 putianyi889 marked this pull request as ready for review November 16, 2024 08:43
@eee555 eee555 merged commit 275b9ac into eee555:dev Nov 16, 2024
2 checks passed
@putianyi889 putianyi889 deleted the debug-16 branch November 26, 2024 08:35
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.

None yet

2 participants