Commit Graph

4 Commits

Author SHA1 Message Date
e44637fb2a feat: 更新验证码逻辑,优化邮件验证功能,增加验证码冷却时间,改进用户体验Closes #17 2025-09-24 09:33:09 +08:00
4781d81869 feat: add captcha support for user login and enhance user profile page
- Refactored userLogin function to include captcha handling.
- Introduced getCaptchaConfig API to fetch captcha configuration.
- Added Captcha component to handle different captcha providers (hCaptcha, reCaptcha, Turnstile).
- Updated LoginForm component to integrate captcha verification.
- Created UserProfile component to display user information with avatar.
- Implemented getUserByUsername API to fetch user details by username.
- Removed deprecated LoginRequest interface from user model.
- Enhanced navbar and layout with animation effects.
- Removed unused user page component and added dynamic user profile routing.
- Updated localization files to include captcha-related messages.
- Improved Gravatar component for better avatar handling.
2025-09-10 21:15:36 +08:00
a0d215fa2e implement email verification feature, add captcha validation middleware, and enhance user authentication flow 2025-07-22 08:50:16 +08:00
99a3f80e12 add middleware for authentication and captcha, implement initial API routes for user, post, label, and page 2025-07-18 03:26:15 +08:00