Where to find it
- URL:
/cashier-login - Auto-launched on Vendor Desktop cold start
- Manually reachable at
/cashier-loginfrom any browser
The Cashier Login screen (/cashier-login) is the dedicated, employee-only sign-in page that opens automatically when you launch Vendor Desktop (the Electron app installed on the lane PC). It is built specifically for cashiers and front-of-house staff — not for store owners.
Where to find it
/cashier-login/cashier-login from any browserWho can sign in here
pos write permission/vendor-login)Where you land after
/point-of-sale/sale — full-screen POS workspacepos write permissionstore_id in your profile) — the store is then auto-selected| Sign-in screen | URL | Who it is for |
|------------|------------------|---------------------|
| Cashier login (this page) | /cashier-login | Cashiers / front-of-house |
| Operator login | /login | Employees who need the dashboard (catalog, finance, …) |
| Owner login | /vendor-login | Store owners / managers |
Owners who accidentally open
/cashier-loginwill be logged out by the screen and shown the “Only employee accounts can sign in here” banner. Owners should always use/vendor-login.
Open the Cashier Login screen.
/cashier-login when no session exists.https://<your-vendor-domain>/cashier-login.Enter your email.
cashier@store.com).@ is what we match.Enter your password.
(Optional) Tick “Remember me”.
Click “Sign in”.
/point-of-sale/sale.Wait for the POS workspace to load.

The left half is the brand panel with a hero title and subtitle describing your store benefits. It is the same on every auth screen.
The right half is the form. From top to bottom:
Welcome back / Chào mừng trở lại)mingcute:mail-line)The screen runs two layers of validation:
| Layer | Trigger | Where it appears | |-------|---------|------------------| | Browser / Zod (client) | You submit with an invalid email or empty password | Inline message under the field | | API (server) | The backend rejects your credentials | Red banner above the form |
These show as soon as you click Sign in with an invalid form. No request is sent to the backend.
| Symptom | What happens | Fix |
|---|---|---|
| Enter a valid email address. | Email field has no @ or invalid format | Re-type the email carefully |
| This field is required. | Password is empty | Fill in the password |

If the email/password are valid but the server rejects them, a red banner appears above the form and the URL stays on /cashier-login.
| Banner text | Cause | Fix |
|---|---|---|
| Incorrect email or password. | Wrong password or the email does not exist | Reset your password (see below) or contact the owner |
| Only employee accounts can sign in here. | You opened this page with an Owner account | Use /vendor-login instead |
| This account is suspended. | Owner disabled your account | Contact the owner |
| Network error | Internet is down on Vendor Desktop (first login) | Connect to the network, or sign in offline if a cached session exists |

If you cannot remember it:
/cashier-login/forgot-password.The dedicated cashier reset flow is documented at Forgot password — Cashier flow.
Once your email/password are accepted:
/point-of-sale/sale (full-screen POS).You will not see the dashboard side menu. The vendor dashboard (/dashboard/*) is not part of the cashier experience — it lives on the mall-side browser/owner login at /vendor-login.
| Capability | Cashier login (/cashier-login) | Operator login (/login) | Owner login (/vendor-login) |
|---|---|---|---|
| Allowed vendor types | employee | employee |
| Default landing | /point-of-sale/sale | /dashboard | /dashboard (or /point-of-sale/sale from owner menu) |
| Visible side menu | None (POS only) | Full dashboard | Full dashboard + admin tools |
| Hardware setup visible | ✅ (terminal, printer, drawer) | ✅ | ✅ + advanced |
| Settings hub access | ✅ | ✅ | ✅ |
| Cross-store switch | Limited (per profile) | ✅ | ✅ |
| Suitable for back-office order entry | ❌ | ✅ | ✅ |
| Suitable for retail lane | ✅ | ❌ (UI optimised for desktop) | ❌ |
Rule of thumb: if your daily job is to ring up customers at a lane, sign in at
/cashier-login. If you need the catalog, finance or HR pages, sign in at/loginor/vendor-login.
I forgot my password
Use the Cashier forgot-password flow from the same screen, or contact the store owner to reset it.
The screen shows 'Only employee accounts…'
You opened this URL with an owner account. Sign out from /vendor-login first, or open the owner login in a different browser.
Spinner never stops
The desktop is offline and the password was not cached locally. Re-connect to the network, then sign in.
I land on /dashboard instead of /point-of-sale
You actually used /login (employee dashboard). Sign out and use /cashier-login.
| HTTP | Meaning | Action |
|---|---|---|
| 400 | Validation failed (server-side) | Check email format |
| 401 | Wrong credentials | Reset password or contact owner |
| 403 | Account is suspended OR not an employee | Use /vendor-login if owner |
| 429 | Too many attempts | Wait 60 seconds, retry |
| 5xx | Backend issue | Retry, or check status page |