Skip to content

Commit 171ab8c

Browse files
committed
feat: adding token expiration time cookies
1 parent 916a41a commit 171ab8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/controllers/AuthController.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export default class AuthController {
3636
httpOnly: true,
3737
secure: true,
3838
sameSite: 'strict',
39+
maxAge: 3600000,
3940
});
4041

4142
res

0 commit comments

Comments
 (0)