Skip to content

Commit

Permalink
chore: 쿠키 설정 TODO 추가 #8
Browse files Browse the repository at this point in the history
  • Loading branch information
PgmJun committed Jan 19, 2024
1 parent 768e9b3 commit bfbec9a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private void addTokensToCookie(TokenVO tokenVO, HttpServletResponse response) {

private void addTokenToCookie(String cookieName, String token, HttpServletResponse response) {
Cookie cookie = new Cookie(cookieName, token);
//cookie.setSecure(true);
//cookie.setSecure(true); //TODO: HTTPS 설정 후에 주석 해제
cookie.setHttpOnly(true);

response.addCookie(cookie);
Expand Down

0 comments on commit bfbec9a

Please sign in to comment.