Commit a6f5d428 authored by 马博's avatar 马博

hdlogin fix

parent af4464f5
...@@ -281,7 +281,7 @@ public class Authorization { ...@@ -281,7 +281,7 @@ public class Authorization {
Map<String,String> map = response.getCookies(); Map<String,String> map = response.getCookies();
logger.info("cookies:"+map.toString()); logger.info("cookies:"+map.toString());
hdCookies=new HashMap<>(response.getCookies()); hdCookies=new HashMap<>(response.getCookies());
if(hdCookies!=null||hdCookies.size()!=0) { if(hdCookies!=null&&hdCookies.size()!=0) {
//取消安全校验 //取消安全校验
hdCookies.remove("csrf_token"); hdCookies.remove("csrf_token");
hdCookies.put("appId", appId); hdCookies.put("appId", appId);
......
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