diff --git a/frontend/src/pages/AdminUsersPage.jsx b/frontend/src/pages/AdminUsersPage.jsx index 7d435c0..829f029 100644 --- a/frontend/src/pages/AdminUsersPage.jsx +++ b/frontend/src/pages/AdminUsersPage.jsx @@ -37,12 +37,6 @@ const AdminUsersPage = () => { is_superuser: false, }); - useEffect(() => { - if (!currentUser) { - window.location.href = '/login'; - } - }, [currentUser]); - const generateInviteLink = async () => { try { setError('');