mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 19:18:59 +08:00
refactor: 用户登录支持扫码用户输入密码进入系统
This commit is contained in:
parent
20e365618c
commit
bd9f49d485
@ -95,7 +95,7 @@ public class LocalRealm extends AuthorizingRealm {
|
||||
UserDTO user = userLoginService.getUserDTO(userId);
|
||||
String msg;
|
||||
if (user == null) {
|
||||
user = userLoginService.getUserDTOByEmail(userId, UserSource.LOCAL.name());
|
||||
user = userLoginService.getUserDTOByEmail(userId);
|
||||
if (user == null) {
|
||||
msg = "The user does not exist: " + userId;
|
||||
logger.warn(msg);
|
||||
|
Loading…
Reference in New Issue
Block a user