Skip to content

Commit

Permalink
Merge pull request #193 from RollingPaper42/dev
Browse files Browse the repository at this point in the history
feat: 쿠키 관련 보안 설정 추가
  • Loading branch information
tjdwns5063 authored Feb 19, 2024
2 parents aac4857 + c48eb05 commit f9bef28
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 f9bef28

Please sign in to comment.