Skip to content

Commit

Permalink
Merge pull request #119 from modern-agile-team/feature/auth
Browse files Browse the repository at this point in the history
Test(NicoDora/auth) : sameSite 설정
  • Loading branch information
NicoDora authored Nov 13, 2023
2 parents 641aa61 + 98ca9d4 commit 06662b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/auth/controllers/auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class AuthController {
);

res.cookie('refresh_token', refreshToken, {
sameSite: 'None',
sameSite: 'lax',
maxAge: 1000 * 60 * 60 * 24 * 7, // 7일
});

Expand All @@ -80,7 +80,7 @@ export class AuthController {
);

res.cookie('refresh_token', refreshToken, {
sameSite: 'None',
sameSite: 'lax',
maxAge: 1000 * 60 * 60 * 24 * 7, // 7일
});

Expand Down

0 comments on commit 06662b0

Please sign in to comment.