Skip to content

Commit

Permalink
Fixed incorrect cookie name addition
Browse files Browse the repository at this point in the history
  • Loading branch information
artyom-beilis committed Jul 11, 2017
1 parent 35c45c0 commit 589eb3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public void load(HttpServletRequest request)
if(cookies[i].getName().equals(cookieName)) {
sessionCookie = cookies[i].getValue();
}
API.api.cppcms_capi_session_add_cookie_name(d,cookies[i].getValue());
API.api.cppcms_capi_session_add_cookie_name(d,cookies[i].getName());
}
API.api.cppcms_capi_session_set_session_cookie(d,sessionCookie);
API.api.cppcms_capi_session_load(d);
Expand Down

0 comments on commit 589eb3f

Please sign in to comment.