app数量问题
This commit is contained in:
parent
96cefa62ec
commit
6010920a8a
@ -98,7 +98,7 @@ public class UserDetailServiceImpl implements UserDetailsService, IUserDetailChe
|
||||
removalDuplicateRole(rolePOs);
|
||||
grantedAuthorities.addAll(loadRoleAuthority(rolePOs));
|
||||
if (grantedAuthorities.isEmpty()) {
|
||||
throw new UserAuthenticationException(username + "用户无任角色");
|
||||
throw new UserAuthenticationException(username + "用户无任何角色");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -389,7 +389,7 @@
|
||||
changePasswordNoticeDays: data.changePasswordNoticeDays,
|
||||
passwordStrength: data.passwordStrength,
|
||||
firstLoginChangePassword: data.firstLoginChangePassword,
|
||||
appDeviceCount: data.appDeviceCount,
|
||||
appDeviceCount: data.appDeviceCount ? data.appDeviceCount : 0,
|
||||
verificationCode: data.verificationCode,
|
||||
uKeyLogin: data.uKeyLogin,
|
||||
scanCodeLogin: data.scanCodeLogin,
|
||||
|
Loading…
Reference in New Issue
Block a user