Skip to content

Commit 96dfdc8

Browse files
committed
Added "/" path to cookie
1 parent 093e00d commit 96dfdc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

QueueIT.Security/src/queueit/security/CookieValidateResultRepository.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ private void addCookie(Cookie cookie, HttpServletResponse response, int maxAge)
190190
{
191191
cookie.setHttpOnly(true);
192192
cookie.setMaxAge(maxAge < 0 ? 0 : maxAge);
193+
cookie.setPath("/");
193194
if (defaultCookieDomain != null)
194195
cookie.setDomain(defaultCookieDomain);
195196

0 commit comments

Comments
 (0)