19 lines
752 B
Markdown
19 lines
752 B
Markdown
---
|
|
question: What is the difference between a till account and a console login?
|
|
also:
|
|
- why can a cashier not sign in to the console
|
|
- cashier says invalid email
|
|
- till login not working on the website
|
|
area: people
|
|
source: src/api/people.ts, src/auth/session.ts
|
|
---
|
|
They are two separate account systems that happen to share one table.
|
|
|
|
A till account belongs to the terminal in the shop. A console login belongs to
|
|
the back office. The backend leaves the two till roles out of every console
|
|
sign-in lookup, inside the query itself, so a cashier trying to sign in to the
|
|
console is reported as "not found" rather than "wrong password" — the account is
|
|
real, it is simply not a console account.
|
|
|
|
If somebody needs both, they need two accounts.
|