diff --git a/blade-auth/src/main/java/org/springblade/auth/utils/TokenUtil.java b/blade-auth/src/main/java/org/springblade/auth/utils/TokenUtil.java index 912a1a8..bd2ed75 100644 --- a/blade-auth/src/main/java/org/springblade/auth/utils/TokenUtil.java +++ b/blade-auth/src/main/java/org/springblade/auth/utils/TokenUtil.java @@ -72,6 +72,7 @@ public class TokenUtil { authInfo.setOauthId(userInfo.getOauthId()); authInfo.setAccount(user.getAccount()); authInfo.setUserName(user.getRealName()); + authInfo.setAvatar(user.getAvatar()); authInfo.setAuthority(Func.join(userInfo.getRoles())); authInfo.setAccessToken(accessToken.getToken()); authInfo.setExpiresIn(accessToken.getExpire());