Create ValidationErrorPage

This commit is contained in:
T'JAMPENS QUENTIN p2406187
2025-12-15 16:49:07 +01:00
parent ddd0180933
commit 3051a0b2ca
4 changed files with 61 additions and 0 deletions
+1
View File
@@ -13,6 +13,7 @@ function Layout(){
if (loading) return <p>Loading</p>;
if (!user) return <Navigate to="/login" />;
if(user && user.validate === 0) return <Navigate to="/error/validation" />;
return (
<div>