Skip to content

Commit

Permalink
feature/IVYPORTAL-18035-Failure-to-use-secure-cookies
Browse files Browse the repository at this point in the history
- Set secure true for cookie
  • Loading branch information
lmluat-axonivy committed Dec 17, 2024
1 parent 559ae67 commit 60123ca
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 60123ca

Please sign in to comment.