Browse Source

[feat]

1、修改bug
wuyuan
杨威 2 months ago
parent
commit
f5c4041894
  1. 12
      dk-auth/src/main/java/org/dromara/auth/service/impl/PasswordAuthStrategy.java

12
dk-auth/src/main/java/org/dromara/auth/service/impl/PasswordAuthStrategy.java

@ -83,18 +83,6 @@ public class PasswordAuthStrategy implements IAuthStrategy {
model.setActiveTimeout(client.getActiveTimeout());
model.setExtra(LoginHelper.CLIENT_KEY, client.getClientId());
//获取设备权限
List<String> deviceList = new ArrayList<>();
try {
deviceList = feignDeviceGroup.listDevice(loginUser.getUserId());
} catch (Exception e) {
log.error(e.getMessage(), e);
}
loginUser.setDeviceList(deviceList);
// 生成token
LoginHelper.login(loginUser, model);

Loading…
Cancel
Save