Skip to content

Commit

Permalink
chore: stay logged in for 24 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
xynydev committed Apr 20, 2024
1 parent 6348627 commit 23fe6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/api/login/callback/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export async function GET(event: RequestEvent): Promise<Response> {
path: "/",
secure: import.meta.env.PROD,
httpOnly: true,
maxAge: 60 * 10,
maxAge: 60 * 60 * 24,
sameSite: "lax"
});

Expand Down

0 comments on commit 23fe6cb

Please sign in to comment.