diff --git a/web/src/layout/AuthLayout.tsx b/web/src/layout/AuthLayout.tsx
index adc75f8..77bbede 100644
--- a/web/src/layout/AuthLayout.tsx
+++ b/web/src/layout/AuthLayout.tsx
@@ -31,6 +31,8 @@ const AuthLayout = () => {
const authenticate = useAuth((state) => state.authenticate);
const hasAuthenticated = useAuth((state) => state.hasAuthenticated);
+ const authProfile = useAuth((s) => s.profile);
+
const signInRequired = useAuth((state) => state.signInRequired);
const location = useLocation();
@@ -136,6 +138,14 @@ const AuthLayout = () => {
);
}
+ if (
+ !signInRequired &&
+ authProfile?.email_verified === false &&
+ !location.pathname.startsWith("/verify")
+ ) {
+ return ;
+ }
+
return (