1
0
mirror of https://github.com/stonith404/pingvin-share.git synced 2024-06-30 06:30:11 +02:00

fix: refresh token expires after 1 day instead of 3 months

This commit is contained in:
Elias Schneider 2023-01-07 12:16:03 +01:00
parent c8ad2225e3
commit a5bef5d4a4

View File

@ -153,7 +153,7 @@ export class AuthController {
response.cookie("refresh_token", refreshToken, {
path: "/api/auth/token",
httpOnly: true,
maxAge: 60 * 60 * 24 * 30 * 3,
maxAge: 1000 * 60 * 60 * 24 * 30 * 3,
});
return response;