diff --git a/app/src/contexts/AuthContext.tsx b/app/src/contexts/AuthContext.tsx index 3e43971d..2bd547ef 100644 --- a/app/src/contexts/AuthContext.tsx +++ b/app/src/contexts/AuthContext.tsx @@ -124,6 +124,7 @@ export function AuthProvider({ children }) { const { data } = res setSessionToken(data.session) + Cookies.set('session-token', data.session, { expires: 1 / 24 }) const newUser = data?.user if (newUser !== currentUser) { setCurrentUser({