Replace login with OTK auth, force light mode, hide theme toggle

Featurekamo-analytics
已装运
2026年4月17日 18:42 UTC
作者
Kamo
提交
00aaaec

Remove direct login — authentication now handled exclusively via one-time keys from kamo-internal. New /api/auth/otk route validates OTK against shared Redis, signs in as the "kamo" user. New /auth/otk client page processes OTK and stores auth token. Force light mode via CSS color-scheme, Zustand store override, and LightModeEnforcer component. Remove theme toggle from UserButton. Add REDIS_URL, ALLOWED_FRAME_URLS, and DISABLE_LOGIN to k8s deployment.

所有更改

就像你看到的运输?

每一个都自动更新您工作空间的地盘。 开始自由,看它成长 一周又一周.

永远开始自由查看定价