mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 21:24:10 +00:00
- Add per-IP rate limiter middleware (5 req/min) on /register endpoint - Validate username (3-64 chars) and password (8-128 chars) with trim - Use sentinel error ErrUsernameAlreadyExists instead of string matching - Prevent TurnstileSecretKey exposure via admin settings API (json:"-") - Skip json:"-" fields in UpdateAllSetting to avoid overwriting secrets - Add SetTurnstileSecretKey setter for programmatic configuration - Reuse package-level http.Client in Turnstile verification for connection pooling - Add io.LimitReader to cap Turnstile response body size - Log all Turnstile verification error paths for debugging - Add invalidUsername/invalidPassword i18n keys to all 13 locales |
||
|---|---|---|
| .. | ||
| 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 | ||