首页消息
This commit is contained in:
@@ -157,7 +157,7 @@ public class HomeycomClientUserTokenController {
|
||||
|
||||
// 第2步:构建用户信息对象
|
||||
// 构建用户信息 , 这里只拼接了 UserTokenDTO 中的 username 和 authorities;TODO 现在加载了用户所有数据,
|
||||
UserDetails honeycomUser = honeycomUserDetailsService.loadUserByUsername(userInfo.getPhone());
|
||||
UserDetails honeycomUser = honeycomUserDetailsService.loadUserByUsername(userInfo.getUsername());
|
||||
|
||||
// 第3步:创建认证对象
|
||||
Authentication usernamePasswordAuthentication =
|
||||
|
||||
Reference in New Issue
Block a user