Add user authentication and role management

This commit is contained in:
巫凤萍
2026-08-07 11:06:20 +08:00
parent 1f910c975d
commit c926a6a874
25 changed files with 2370 additions and 132 deletions

View File

@@ -1,5 +1,6 @@
KOC_PORTAL_URL=http://localhost:3000
ADMIN_ALLOWED_EMAIL=operator@example.com
SUPER_ADMIN_USERNAME=admin
SUPER_ADMIN_PASSWORD=qazxsw123admin
ADMIN_INTERNAL_TOKEN=replace-with-a-random-secret
# Optional override. The production key must be stored as a runtime secret.