- ./setup.sh admin — create admin user directly in DB - Hashes password via bcryptjs (already in dependencies) - Creates both user and better-auth account records - Shows existing admins, offers to promote existing users - Validates email, password length (min 8) - Added to interactive menu and CLI router Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
47 KiB
47 KiB