diff --git a/public/assets/js/dashboard.js b/public/assets/js/dashboard.js index 0ae08e7..e7c09a5 100644 --- a/public/assets/js/dashboard.js +++ b/public/assets/js/dashboard.js @@ -11,7 +11,7 @@ async function ensureAuthenticated() { try { const me = await apiAction('auth.me', { method: 'GET' }); if (!me?.ok || !me?.user) { - // window.location.href = '/login.php'; + window.location.href = '/login.php'; return false; } window.__currentUser = me.user;