|
@@ -44,7 +44,7 @@ public class DefaultUserDetailsService implements UserDetailsService {
|
|
|
userInfo = sysUserService.queryUserInfoByUsername(StringUtils.substringAfter(username, SecurityConstants.USERNAME_PRINCIPAL_PREFIX));
|
|
|
}
|
|
|
if (userInfo == null) {
|
|
|
- throw new UsernameNotFoundException("用户不存在");
|
|
|
+ throw new UsernameNotFoundException("账户不存在");
|
|
|
}else if(StringUtils.equals(userInfo.getSysUser().getLockFlag(),"9")){
|
|
|
throw new LockedException("账户被锁定");
|
|
|
}
|