admin/src/contexts
hosseintaromi 4d385f2031 auth: update authentication system
- Update AuthContext with new login response structure
- Add isLoading state to prevent premature redirects
- Implement proper session restoration from localStorage
- Update permission checking logic (id=1 = super admin)
- Fix login form to use new API structure
- Store tokens, user info, and permissions in localStorage
2025-07-22 08:48:12 +03:30
..
AuthContext.tsx auth: update authentication system 2025-07-22 08:48:12 +03:30
ThemeContext.tsx Update file structure and improve code organization in the main directory 2025-07-13 22:03:22 +03:30
ToastContext.tsx Update file structure and improve code organization in the main directory 2025-07-13 22:03:22 +03:30