Fix: ManageUsers component missing useAuth() - caused blank admin page
The ManageUsers sub-component referenced user?.role for conditional role dropdown options but didn't call useAuth() to get the user object. This caused 'user is not defined' JS errors and blank admin pages. Browser E2E: 20/20 tests pass.
This commit is contained in:
+4
-2
@@ -1,4 +1,6 @@
|
||||
DB_PASSWORD=coastal_secret
|
||||
# Set to "true" to enable daily pg_dump backups
|
||||
JWT_SECRET=Ts8pLm3QvK5nRw9sYzB4jFc7hE0aGd2U
|
||||
JWT_REFRESH_SECRET=Rf6kMn2QpT8wLs4vYzA7jFb9hD0eGc5U
|
||||
NODE_ENV=production
|
||||
CORS_ORIGINS=https://ts.bizzle.cloud
|
||||
ENABLE_BACKUPS=false
|
||||
BACKUP_DIR=/backups
|
||||
|
||||
Reference in New Issue
Block a user