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