FDA

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:

  1. Open Register (e.g. /register).
  2. Fill in:
    • Full name: e.g. Test User
    • Phone number: any 10 digits, e.g. 1234567890
    • Email: optional
  3. Click "Send PIN to your Mobile number".
  4. In development/mock mode, the system accepts PIN 1234 (no real SMS).
  5. Enter 1234 in 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, 1234 works for all accounts in mock mode.

Development (mock) behavior

  • Universal PIN 1234 works for every account.
  • No real SMS is sent; PIN is always 1234 for 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

IssueWhat 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 1234 is disabled.
  • Ensure SMS provider and PIN storage (e.g. Redis) are configured. See Backend & Auth.
Previous
Backend & auth