From 628847e286bac254571694bcf69d9bb482dd03da Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 27 May 2025 02:08:58 -0700 Subject: feat(oauth): Expire session after 180 days --- src/lib/Utility/oauth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/Utility/oauth.ts b/src/lib/Utility/oauth.ts index 78f52bfa..5c05bff9 100644 --- a/src/lib/Utility/oauth.ts +++ b/src/lib/Utility/oauth.ts @@ -40,7 +40,7 @@ export const callback = async (options: CallbackOptions) => { ), { path: '/', - maxAge: 60 * 60 * 24 * 7, + maxAge: 31536000 / 2, httpOnly: false, sameSite: 'lax', secure: false -- cgit v1.2.3