- Updated auth verification to use Neon database instead of mock data - Implemented proper JWT token authentication with localStorage storage - Created beautiful login page with admin quick-login for development - Updated all admin auth hooks to use JWT tokens from localStorage - Added automatic token cleanup on authentication failures - Enhanced AdminProtected component with proper token validation - Created logout functionality that clears tokens and redirects - Maintained fallback admin access for development (no token = admin) - Real admin credentials: admin@tcgvault.com / admin123 - Seamless integration with existing admin card editor workflow |
||
|---|---|---|
| .. | ||
| admin | ||
| auth | ||
| cards | ||
| auth-utils.js | ||
| collections.js | ||
| decks.js | ||
| health.js | ||
| setup-database.js | ||
| simple.js | ||
| test-auth.js | ||
| test-db.js | ||