tokenFactory/controller
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
..
affiliate_invite.go Initial commit 2026-06-03 10:01:10 +08:00
affiliate_invitee_discount.go Initial commit 2026-06-03 10:01:10 +08:00
affiliate_track.go Initial commit 2026-06-03 10:01:10 +08:00
billing.go Initial commit 2026-06-03 10:01:10 +08:00
captcha.go feat: add captcha verification for login form 2026-06-05 13:57:13 +08:00
channel-billing.go Initial commit 2026-06-03 10:01:10 +08:00
channel-test.go Initial commit 2026-06-03 10:01:10 +08:00
channel.go feat: 操作日志功能实现及字段级diff优化 2026-06-04 15:17:59 +08:00
channel_affinity_cache.go Initial commit 2026-06-03 10:01:10 +08:00
channel_balance_alert_test.go Initial commit 2026-06-03 10:01:10 +08:00
channel_export_import.go Initial commit 2026-06-03 10:01:10 +08:00
channel_model_heat.go Initial commit 2026-06-03 10:01:10 +08:00
channel_onboard.go Initial commit 2026-06-03 10:01:10 +08:00
channel_test_heuristic_test.go Initial commit 2026-06-03 10:01:10 +08:00
channel_upstream_update.go Initial commit 2026-06-03 10:01:10 +08:00
channel_upstream_update_test.go Initial commit 2026-06-03 10:01:10 +08:00
checkin.go Initial commit 2026-06-03 10:01:10 +08:00
codex_oauth.go Initial commit 2026-06-03 10:01:10 +08:00
codex_usage.go Initial commit 2026-06-03 10:01:10 +08:00
console_migrate.go Initial commit 2026-06-03 10:01:10 +08:00
custom_oauth.go Initial commit 2026-06-03 10:01:10 +08:00
deployment.go Initial commit 2026-06-03 10:01:10 +08:00
distributor.go Initial commit 2026-06-03 10:01:10 +08:00
distributor_analytics.go Initial commit 2026-06-03 10:01:10 +08:00
docs_config.go Initial commit 2026-06-03 10:01:10 +08:00
group.go Initial commit 2026-06-03 10:01:10 +08:00
image.go Initial commit 2026-06-03 10:01:10 +08:00
log.go Initial commit 2026-06-03 10:01:10 +08:00
midjourney.go Initial commit 2026-06-03 10:01:10 +08:00
misc.go feat: add captcha verification for login form 2026-06-05 13:57:13 +08:00
missing_models.go Initial commit 2026-06-03 10:01:10 +08:00
model.go Initial commit 2026-06-03 10:01:10 +08:00
model_meta.go feat: 操作日志功能实现及字段级diff优化 2026-06-04 15:17:59 +08:00
model_sync.go Initial commit 2026-06-03 10:01:10 +08:00
model_test_result_api.go Initial commit 2026-06-03 10:01:10 +08:00
oauth.go Initial commit 2026-06-03 10:01:10 +08:00
operation_log.go feat: 操作日志功能实现及字段级diff优化 2026-06-04 15:17:59 +08:00
option.go feat: 操作日志功能实现及字段级diff优化 2026-06-04 15:17:59 +08:00
oss.go Initial commit 2026-06-03 10:01:10 +08:00
passkey.go Initial commit 2026-06-03 10:01:10 +08:00
performance.go Initial commit 2026-06-03 10:01:10 +08:00
playground.go Initial commit 2026-06-03 10:01:10 +08:00
prefill_group.go Initial commit 2026-06-03 10:01:10 +08:00
price_export_import.go Initial commit 2026-06-03 10:01:10 +08:00
pricing.go Initial commit 2026-06-03 10:01:10 +08:00
rate_limit_manage.go Initial commit 2026-06-03 10:01:10 +08:00
ratio_config.go Initial commit 2026-06-03 10:01:10 +08:00
ratio_sync.go Initial commit 2026-06-03 10:01:10 +08:00
ratio_sync_modelsdev_test.go Initial commit 2026-06-03 10:01:10 +08:00
redemption.go feat: 操作日志功能实现及字段级diff优化 2026-06-04 15:17:59 +08:00
relay.go Initial commit 2026-06-03 10:01:10 +08:00
secure_verification.go Initial commit 2026-06-03 10:01:10 +08:00
setup.go Initial commit 2026-06-03 10:01:10 +08:00
sms_verification.go Initial commit 2026-06-03 10:01:10 +08:00
subscription.go Initial commit 2026-06-03 10:01:10 +08:00
subscription_payment_creem.go Initial commit 2026-06-03 10:01:10 +08:00
subscription_payment_epay.go Initial commit 2026-06-03 10:01:10 +08:00
subscription_payment_stripe.go Initial commit 2026-06-03 10:01:10 +08:00
supplier_application.go Initial commit 2026-06-03 10:01:10 +08:00
supplier_dashboard.go Initial commit 2026-06-03 10:01:10 +08:00
supplier_pricing.go Initial commit 2026-06-03 10:01:10 +08:00
supplier_scope.go Initial commit 2026-06-03 10:01:10 +08:00
swag_video.go Initial commit 2026-06-03 10:01:10 +08:00
task.go Initial commit 2026-06-03 10:01:10 +08:00
telegram.go Initial commit 2026-06-03 10:01:10 +08:00
tf_open_sync.go Initial commit 2026-06-03 10:01:10 +08:00
token.go feat: 操作日志功能实现及字段级diff优化 2026-06-04 15:17:59 +08:00
token_test.go Initial commit 2026-06-03 10:01:10 +08:00
topup.go Initial commit 2026-06-03 10:01:10 +08:00
topup_creem.go Initial commit 2026-06-03 10:01:10 +08:00
topup_stripe.go Initial commit 2026-06-03 10:01:10 +08:00
topup_waffo.go Initial commit 2026-06-03 10:01:10 +08:00
twofa.go Initial commit 2026-06-03 10:01:10 +08:00
uptime_kuma.go Initial commit 2026-06-03 10:01:10 +08:00
usedata.go Initial commit 2026-06-03 10:01:10 +08:00
user.go feat: add captcha verification for login form 2026-06-05 13:57:13 +08:00
vendor_meta.go Initial commit 2026-06-03 10:01:10 +08:00
video_proxy.go Initial commit 2026-06-03 10:01:10 +08:00
video_proxy_gemini.go Initial commit 2026-06-03 10:01:10 +08:00
wechat.go Initial commit 2026-06-03 10:01:10 +08:00