10 Commits

Author SHA1 Message Date
86beb8a5dd Keep tablet keyboard open between wizard fields 2026-05-31 21:09:22 +01:00
e794ecceb6 Add tablet seller wizard and access controls 2026-05-31 20:59:58 +01:00
14de88945c Add cookies.txt and *.log to gitignore 2026-05-30 15:42:14 +01:00
b169e975bb Remove accidentally committed cookies.txt 2026-05-30 15:42:02 +01:00
661d053ea0 Fix login redirect - use server-side redirect instead of redirect:false
The signIn with redirect:false + router.push wasn't working
properly. Switched to callbackUrl approach where the server
handles the 302 redirect and cookie setting natively.
2026-05-30 15:41:59 +01:00
816c1c40c6 Add authentication system with next-auth (CredentialsProvider + JWT)
- Login page with email/password
- Auth middleware (proxy) protecting all routes
- Seed endpoint for admin user creation (admin@optiquestock.com / admin123)
- Session provider wrapping root layout
- User info + logout button in header
- Updated POS sales route to track authenticated user
2026-05-30 15:35:40 +01:00
d23f2ab53e Enhanced README with project-specific documentation and added SQLite database 2026-05-30 15:01:40 +01:00
f6dc5fb07f Merge branch 'main' of http://192.168.1.160:3000/Abderrahim-Mouhcine/OpticZ 2026-05-30 14:33:58 +01:00
a8c372177f Initial commit 2026-05-30 14:33:11 +01:00
a1ee2c0ae6 Téléverser les fichiers vers "z.ai" 2026-05-30 14:01:43 +01:00