Skip to content

Commit

Permalink
fix: refresh token expires after 1 day instead of 3 months
Browse files Browse the repository at this point in the history
  • Loading branch information
stonith404 committed Jan 7, 2023
1 parent c8ad222 commit a5bef5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/auth/auth.controller.ts
Expand Up @@ -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;
Expand Down

0 comments on commit a5bef5d

Please sign in to comment.