시군구 코드(orgID) 관련 수정

master
mjkhan21 5 months ago
parent fd937a700a
commit 498a03995e

@ -78,7 +78,7 @@ public class AuthenticationSuccess extends SavedRequestAwareAuthenticationSucces
private void remember(UserInfo user, HttpServletRequest hreq, HttpServletResponse hresp) { private void remember(UserInfo user, HttpServletRequest hreq, HttpServletResponse hresp) {
boolean remember = "true".equals(hreq.getParameter("rememberCredentials")); boolean remember = "true".equals(hreq.getParameter("rememberCredentials"));
addCookie(hresp, remember, "userAccount", user.getAccount()); addCookie(hresp, remember, "userAccount", user.getAccount());
addCookie(hresp, remember, "userInstitute", user.getInstitute()); addCookie(hresp, remember, "userOrg", user.getOrgID());
} }
private void addCookie(HttpServletResponse hresp, boolean remember, String name, String value) { private void addCookie(HttpServletResponse hresp, boolean remember, String name, String value) {

Loading…
Cancel
Save