Update user role for administrator accounts, ensuring proper access

Updates the admin role from "admin" to "administrator" in both the frontend (Dashboard.tsx) and backend (storage.ts) to fix access issues.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 4b008663-bd72-492b-b0b6-fa252367e730
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/0715008c-7244-40f4-befc-26c014852236/4b008663-bd72-492b-b0b6-fa252367e730/Sg6WIVT
This commit is contained in:
michaelschal committed 2025-07-19 14:48:29 +00:00
1 parent bf09dcb56b
commit 4a7edba1cb
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -347,7 +347,7 @@ export class DatabaseStorage implements IStorage {
email: "admin@example.com",
firstName: "Administrateur",
lastName: "Principal",
role: "admin",
role: "administrator",
storeId: defaultStore.id,
isActive: true,
});