mirror of
https://github.com/stonith404/pingvin-share.git
synced 2024-11-15 03:50:11 +01:00
Revert "fix: set max age of access token cookie to 15 minutes"
This reverts commit 2dac38560b
.
This commit is contained in:
parent
27ee9fb6cb
commit
14c2185e6f
@ -251,7 +251,7 @@ export class AuthService {
|
||||
if (accessToken)
|
||||
response.cookie("access_token", accessToken, {
|
||||
sameSite: "lax",
|
||||
maxAge: 1000 * 60 * 15, // 15 minutes
|
||||
maxAge: 1000 * 60 * 60 * 24 * 30 * 3, // 3 months
|
||||
});
|
||||
if (refreshToken)
|
||||
response.cookie("refresh_token", refreshToken, {
|
||||
|
Loading…
Reference in New Issue
Block a user