diff --git a/src/main/java/cokr/xit/base/security/authentication/web/AuthenticationSuccess.java b/src/main/java/cokr/xit/base/security/authentication/web/AuthenticationSuccess.java index 4187a3b..e0888e8 100644 --- a/src/main/java/cokr/xit/base/security/authentication/web/AuthenticationSuccess.java +++ b/src/main/java/cokr/xit/base/security/authentication/web/AuthenticationSuccess.java @@ -78,7 +78,7 @@ public class AuthenticationSuccess extends SavedRequestAwareAuthenticationSucces private void remember(UserInfo user, HttpServletRequest hreq, HttpServletResponse hresp) { boolean remember = "true".equals(hreq.getParameter("rememberCredentials")); 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) {