pos login with the ph number and pin
This commit is contained in:
@@ -1,5 +1,17 @@
|
||||
# POS sign-in by mobile number, and shift assignment — handover to the terminal team
|
||||
|
||||
> ## ⚠️ Superseded by [POS_PHONE_PIN_LOGIN_HANDOVER.md](POS_PHONE_PIN_LOGIN_HANDOVER.md)
|
||||
>
|
||||
> `POST /pos/login` now takes a mobile number and a **PIN**, not a mobile number
|
||||
> and a password, and the session no longer carries `staff[].pin`. Read the new
|
||||
> handover instead — build against this one and the sign-in screen will be
|
||||
> wrong.
|
||||
>
|
||||
> Still accurate here, and not repeated there: the `createposuser` /
|
||||
> `updateposuser` / `getposusers` field changes (§2), the number format rules
|
||||
> (§3), and shifts (§4). **Not** accurate here: §2's claim that `shift_*`
|
||||
> appears on `staff[]` in the `/pos/login` session — it never did.
|
||||
|
||||
Backend is done and builds clean. **Nothing about this breaks the current app** —
|
||||
username sign-in keeps working exactly as it does today. Read §5 before you ship
|
||||
anything, because the switch has one ordering rule that will lock out every
|
||||
|
||||
Reference in New Issue
Block a user