소스 검색

fix zen cookie

Dax Raad 4 달 전
부모
커밋
0b6b9062d9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      packages/console/app/src/context/auth.session.ts

+ 1 - 0
packages/console/app/src/context/auth.session.ts

@@ -15,6 +15,7 @@ export function useAuthSession() {
   return useSession<AuthSession>({
   return useSession<AuthSession>({
     password: "0".repeat(32),
     password: "0".repeat(32),
     name: "auth",
     name: "auth",
+    maxAge: 60 * 60 * 24 * 365,
     cookie: {
     cookie: {
       secure: false,
       secure: false,
       httpOnly: true,
       httpOnly: true,