Tags: zamibd/ZPanel
Tags
Refactor: Replace randomSeq with randomNumeric for client name genera… …tion - Add randomNumeric method to RandomUtil for numeric-only random strings - Update ClientBulk.vue to use randomNumeric(6) instead of randomSeq(8) - Update clients.ts createClient to use randomNumeric(6) for default names - Improves client name consistency with numeric-only format
fix: completely redesign two-step login with step parameter
- Backend now handles step='1' for credentials-only validation
- Backend returns requires2FA flag to indicate if Step 2 is needed
- Users without 2FA enabled will skip Step 2 automatically
- Step 1 now only validates username/password without 2FA code
- Step 2 validates both credentials and 2FA passcode
- Frontend sends explicit step parameter ('1' or '2')
- Frontend checks requires2FA flag from backend response
- Fixes 'wrong user, password or passcode' error for non-2FA users
- Add common package import to apiService.go
Fix bugs, update branding, and clean up unused files - Fix syntax errors in ZPanel.sh (missing $ in variable reference and function parameter) - Remove unused entrypoint.sh file (no longer referenced in codebase) - Update DNS servers from Google (8.8.8.8) to Cloudflare (1.1.1.1) and Quad9 (9.9.9.9) in frontend components - Rebrand 'Home' to 'ZPanel' and 'Sing-box Info' to 'Core Info' in English locale - Update default timezone from Asia/Tehran to Asia/Dhaka - Increase default session max age from 0 to 60 minutes for better UX