Se soluciono authenticacion
This commit is contained in:
@@ -26,11 +26,6 @@ import PasswordResetConfirm from './pages/PasswordResetConfirm';
|
||||
function AppContent() {
|
||||
const location = useLocation();
|
||||
const isAuthPage = location.pathname === '/login' || location.pathname === '/' || location.pathname === '/forgot-password' || location.pathname.startsWith('/user/password-reset-confirm/');
|
||||
|
||||
console.log('🚀 AppContent renderizado');
|
||||
console.log('📍 Ubicación actual:', location.pathname);
|
||||
console.log('🔐 Es página de auth:', isAuthPage);
|
||||
console.log('🎫 Token en localStorage:', !!localStorage.getItem('access'));
|
||||
|
||||
if (isAuthPage) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user