diff options
| author | Fuwn <[email protected]> | 2025-05-27 02:08:58 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-05-27 02:08:58 -0700 |
| commit | 628847e286bac254571694bcf69d9bb482dd03da (patch) | |
| tree | a5963bbf38666dd719a9a3915bf7233546ca5a96 /src/lib/Utility | |
| parent | refactor(CommandPalette): DRY matching logic (diff) | |
| download | due.moe-628847e286bac254571694bcf69d9bb482dd03da.tar.xz due.moe-628847e286bac254571694bcf69d9bb482dd03da.zip | |
feat(oauth): Expire session after 180 days
Diffstat (limited to 'src/lib/Utility')
| -rw-r--r-- | src/lib/Utility/oauth.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 |