Skip to content

Commit

Permalink
feat: 쿠키 관련 보안 설정 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
tjdwns5063 committed Feb 19, 2024
1 parent aac4857 commit c48eb05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Back-end-secret
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public void onAuthenticationSuccess(HttpServletRequest request, HttpServletRespo
Cookie cookie = new Cookie("token", token);

log.info("token: " + token);
cookie.setSecure(true);
cookie.setMaxAge(60 * 60);
cookie.setDomain(".strcat.me");

Expand Down

0 comments on commit c48eb05

Please sign in to comment.