withdraw auth for test

This commit is contained in:
p2405951 committed 2025-12-27 17:30:25 +01:00
1 parent e43ff5c269
commit 919b978f57
4 files changed
+5 -10

No files matched your search

+2 -2
View File
@@ -11,9 +11,9 @@ function Layout(){
const { user, loading } = useContext(AuthContext);
if (loading) return <p>Loading</p>;
/* if (loading) return <p>Loading</p>;
if (!user) return <Navigate to="/login" />;
if(user && user.validate === 0) return <Navigate to="/error/validation" />;
if(user && user.validate === 0) return <Navigate to="/error/validation" />;*/
return (
<div>