Skip to content

Commit

Permalink
feature/IVYPORTAL-18035-Failure-to-use-secure-cookies (#1318)
Browse files Browse the repository at this point in the history
- Set secure true for cookie
  • Loading branch information
lmluat-axonivy authored Dec 18, 2024
1 parent 1eadf05 commit 859ab94
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public void setCookie(String name, String value) {
}
}
cookie.setPath("/");
cookie.setSecure(true);
HttpServletResponse response = (HttpServletResponse) facesContext.getExternalContext().getResponse();
response.addCookie(cookie);
}
Expand Down

0 comments on commit 859ab94

Please sign in to comment.