Commit f3e6a074 authored by 赵啸非's avatar 赵啸非

修改设备管理 外部登录

parent 4b1e60f6
......@@ -306,6 +306,8 @@ public class LoginController extends BaseCRUDJsonController<UserService, UserFor
@Override
protected void saveCurrUser(HttpServletRequest request, HttpServletResponse response, IUser user, int maxAge) {
String securityKey = GlobalSysInfo.getPropertyValue(SysConstains.PROP_COOKIE_SECURITY_KEY);
log.info("securityKey:"+securityKey);
String cookieDomain = GlobalSysInfo.getPropertyValue(SysConstains.PROP_COOKIE_DOMAIN);
String currDoman = request.getServerName();
CookieInfo cookie = setLoginCookie(response, user, securityKey, currDoman, maxAge);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment