Skip to content

Commit

Permalink
🚑️ [fix] jwt 쿠키 설정 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
y2hscmtk committed Aug 4, 2024
1 parent 3df506a commit d3d16cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public void onAuthenticationSuccess(
private Cookie createCookie(String key, String value) {
Cookie cookie = new Cookie(key, value);
cookie.setMaxAge(60 * 60 * 60);
// cookie.setSecure(true);
cookie.setSecure(true);
cookie.setPath("/");
cookie.setHttpOnly(false);
return cookie;
Expand Down

0 comments on commit d3d16cd

Please sign in to comment.