Commit 28dcde56 by huangjinxin

fix:ak与token鉴权并行

1 parent 581d8865
......@@ -84,7 +84,6 @@ public class AuthFilter implements GlobalFilter, Ordered {
}
// ak登录处理
if (StringUtils.isEmpty(authToken)) {
final String ak = getParams(exchange, "ak", headers);
if (log.isTraceEnabled()) {
log.trace("ak is {}", ak);
......@@ -104,7 +103,6 @@ public class AuthFilter implements GlobalFilter, Ordered {
userDTO.setId(Globals.SUPER_ADMIN_ID);
}
}
}
if (userDTO == null) {
log.info("未授权访问{} ip:{}", url, getRemoteIP(exchange));
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!