Skip to content

Commit

Permalink
🔨fix: AuthCommandServiceImpl수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seoshinehyo authored Feb 9, 2025
1 parent e30c9c5 commit cfc84c4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public AccessTokenResponse reissueToken(String oldRefreshToken, HttpServletRespo
.httpOnly(true)
.secure(true)
.sameSite("None")
.maxAge(7 * 24 * 60 * 60) // 7일
.maxAge(10) // 7일
.path("/")
.build();

Expand Down Expand Up @@ -100,12 +100,12 @@ public String processLoginSuccess(Member member, HttpServletResponse response) {
.httpOnly(true)
.secure(true)
.sameSite("None")
.maxAge(7 * 24 * 60 * 60) // 7일(7 * 24 * 60 * 60)
.maxAge(10) // 7일(7 * 24 * 60 * 60)
.path("/")
.build();

response.setHeader("Set-Cookie", refreshTokenCookie.toString());

return newAccessToken;
}
}
}

0 comments on commit cfc84c4

Please sign in to comment.