tokenFactory/web
xiezhouwei b63f75ade4 feat: add captcha verification for login form
- Add /api/captcha endpoint with captcha generation/verification service
- Add captcha_enabled option in system settings (model/option.go)
- Add captcha display and refresh logic in LoginForm
- Fix captcha not showing on Chrome due to Semi UI Form.Input suffix
  incompatibility; refactored to standalone flex layout
- Fix stale localStorage cache preventing captcha rendering on first visit
  by proactively fetching /api/status on LoginForm mount
- Add captcha_enabled toggle in admin SystemSetting panel
- Add i18n keys for captcha-related text (zh-CN, en)
2026-06-05 13:57:13 +08:00
..
public Initial commit 2026-06-03 10:01:10 +08:00
src feat: add captcha verification for login form 2026-06-05 13:57:13 +08:00
.eslintrc.cjs Initial commit 2026-06-03 10:01:10 +08:00
.gitignore Initial commit 2026-06-03 10:01:10 +08:00
.prettierrc.mjs Initial commit 2026-06-03 10:01:10 +08:00
bun.lock Initial commit 2026-06-03 10:01:10 +08:00
i18next.config.js Initial commit 2026-06-03 10:01:10 +08:00
index.html Initial commit 2026-06-03 10:01:10 +08:00
jsconfig.json Initial commit 2026-06-03 10:01:10 +08:00
package.json Initial commit 2026-06-03 10:01:10 +08:00
postcss.config.js Initial commit 2026-06-03 10:01:10 +08:00
tailwind.config.js Initial commit 2026-06-03 10:01:10 +08:00
vercel.json Initial commit 2026-06-03 10:01:10 +08:00
vite.config.js.timestamp-1775640150570-3760be0bbdc73.mjs Initial commit 2026-06-03 10:01:10 +08:00