Skip to content

Commit 14c2185

Browse files
committed
Revert "fix: set max age of access token cookie to 15 minutes"
This reverts commit 2dac385.
1 parent 27ee9fb commit 14c2185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/auth/auth.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ export class AuthService {
251251
if (accessToken)
252252
response.cookie("access_token", accessToken, {
253253
sameSite: "lax",
254-
maxAge: 1000 * 60 * 15, // 15 minutes
254+
maxAge: 1000 * 60 * 60 * 24 * 30 * 3, // 3 months
255255
});
256256
if (refreshToken)
257257
response.cookie("refresh_token", refreshToken, {

0 commit comments

Comments
 (0)