mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-01-15 01:14:27 -05:00
fix: refresh token expires after 1 day instead of 3 months
This commit is contained in:
parent
c8ad2225e3
commit
a5bef5d4a4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue