fix zen cookie
parent
c450549d0f
commit
0b6b9062d9
|
|
@ -15,6 +15,7 @@ export function useAuthSession() {
|
|||
return useSession<AuthSession>({
|
||||
password: "0".repeat(32),
|
||||
name: "auth",
|
||||
maxAge: 60 * 60 * 24 * 365,
|
||||
cookie: {
|
||||
secure: false,
|
||||
httpOnly: true,
|
||||
|
|
|
|||
Loading…
Reference in New Issue