Development #7132
closedFeature #7131: User Login & Authentication (M01)
Normal Login / Keyboard Login
100%
Description
Implement the initial login flow using the standard keyboard input.
The cashier should be able to enter:
User ID / Username
Password
The system must:
- Authenticate against locally available user credentials.
- Support offline authentication without depending on the Backend being online.
- Validate whether the user account is active.
- Validate user permissions/roles.
- Apply failed-login attempt handling and account lockout rules.
- Record successful and failed login attempts.
- Record the terminal/device where the login occurred.
- Create the appropriate local cashier/user session after successful authentication.
This phase will establish the common authentication service that the other login methods will reuse.
Files
Updated by Kyle Chong 3 months ago · Edited
- Status set to New
- Subject set to Build login and access screens
- Tracker set to Development
- Priority set to Medium
- Parent task set to #7131
- % Done set to 0
Issue created
Updated by Kyle Chong 3 months ago · Edited
- Subject changed from Build login and access screens to Normal Login / Keyboard Login
Updated by Chong Yit Ren 3 months ago
- Due date set to 28/08/2026
- Status changed from New to Dev In Progress
Updated by Chong Yit Ren 3 months ago · Edited
- File status 1.png status 1.png added
- File status 2.png status 2.png added
- File Screenshot 2026-09-01 110007.png Screenshot 2026-09-01 110007.png added
- File Screenshot 2026-09-01 105833.png Screenshot 2026-09-01 105833.png added
- Status changed from Dev In Progress to Closed
- % Done changed from 50 to 100
- Complete Date set to 28/08/2026
Done: username/password entry, offline local auth, active-account check (Status field), failed-attempt lockout (5 tries / 15 min), local session creation
Upgraded password check to Admin Panel's real hashing scheme (was a placeholder direct comparison)
Not done (due to blocker): permission/role checks (no IAM system exists), audit logging (no table exists), terminal/device recording (blocked on separate terminal-identity/scope work)