mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-07 05:34:17 +00:00
- 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 |
||
|---|---|---|
| .. | ||
| translate.ar_EG.toml | ||
| translate.en_US.toml | ||
| translate.es_ES.toml | ||
| translate.fa_IR.toml | ||
| translate.id_ID.toml | ||
| translate.ja_JP.toml | ||
| translate.pt_BR.toml | ||
| translate.ru_RU.toml | ||
| translate.tr_TR.toml | ||
| translate.uk_UA.toml | ||
| translate.vi_VN.toml | ||
| translate.zh_CN.toml | ||
| translate.zh_TW.toml | ||