Skip to content

Commit

Permalink
Set expiry cookie to 365 days
Browse files Browse the repository at this point in the history
  • Loading branch information
yunusefendi52 committed Dec 10, 2024
1 parent 7127b90 commit bfc43ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/auth/sign-in-google.post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,6 @@ export const signInUser = (
httpOnly: false,
secure: true,
sameSite: 'lax',
maxAge: 90 * 86400,
maxAge: 34560000, // 365 days
})
}

0 comments on commit bfc43ec

Please sign in to comment.