Project 1 - Admin Panel
Admin Panel - Login & Credentials
The Admin Panel uses phone number + 4-digit PIN authentication. The phone number is the username.
Quick start: register first
On a fresh setup there are no users. Create one via the UI:
- Open Register (e.g.
/register). - Fill in:
- Full name: e.g.
Test User - Phone number: any 10 digits, e.g.
1234567890 - Email: optional
- Full name: e.g.
- Click "Send PIN to your Mobile number".
- In development/mock mode, the system accepts PIN
1234(no real SMS). - Enter
1234in the dialog and submit; you are signed up and redirected.
Logging in
After registration (or if an account already exists):
- Phone: The 10-digit number you used (e.g.
1234567890). - PIN: In dev,
1234works for all accounts in mock mode.
Development (mock) behavior
- Universal PIN
1234works for every account. - No real SMS is sent; PIN is always
1234for flows that send a PIN. - You can register with any 10-digit phone number.
Example test credentials
If you already registered:
Phone: 1234567890
PIN: 1234
You can also register other numbers (e.g. 9876543210, 5555555555) and log in with the same PIN 1234 in dev.
Troubleshooting
| Issue | What to do |
|---|---|
| "Phone number not found" | Register first at /register; use the same number to log in. |
| "Incorrect PIN" | In dev use 1234; or use "Forgot PIN" to reset to the mock PIN. |
| "Authentication failed" | Check backend logs; try registering again with a different phone. |
Production
In production:
- Real SMS is sent with a unique PIN per request.
- Each user has their own PIN; the universal
1234is disabled. - Ensure SMS provider and PIN storage (e.g. Redis) are configured. See Backend & Auth.