3x-ui/web
Sora39831 5f83415e95 feat: add user registration with role-based access
- Add Role field to User model (admin/user) with uniqueIndex on Username
- Add POST /register endpoint with optional Cloudflare Turnstile verification
- Add RegisterUser service with bcrypt password hashing and duplicate detection
- Set default admin user role to "admin", new registrations get "user"
- Add turnstileSecretKey setting and GetTurnstileSecretKey getter
- Add i18n keys (userExists, errorRegister) to all 13 translation files
2026-04-02 23:49:30 +08:00
..
assets Fix DeepLink for Happ, remove encoding URL (#3863) 2026-03-04 12:29:46 +01:00
controller feat: add user registration with role-based access 2026-04-02 23:49:30 +08:00
entity feat: add user registration with role-based access 2026-04-02 23:49:30 +08:00
global Refactor code and fix linter warnings (#3627) 2026-01-05 05:54:56 +01:00
html feat: add registration tab with Cloudflare Turnstile support 2026-04-02 20:18:48 +08:00
job fix: Ban new IPs with fail2ban instead of disconnected the client. (#3919) 2026-03-17 21:18:10 +01:00
locale update dependencies 2026-03-04 13:05:29 +01:00
middleware docs: add comments for all functions 2025-09-20 09:35:50 +02:00
network docs: add comments for all functions 2025-09-20 09:35:50 +02:00
service feat: add user registration with role-based access 2026-04-02 23:49:30 +08:00
session docs: add comments for all functions 2025-09-20 09:35:50 +02:00
translation feat: add user registration with role-based access 2026-04-02 23:49:30 +08:00
websocket Add url speed test for outbound (#3767) 2026-02-09 21:43:17 +01:00
web.go fix: remove excluded paths from gzip middleware in router initialization (#3860) 2026-03-01 15:18:16 +01:00