🐛 Fix twitter_name do not show

This commit is contained in:
xtaodada 2022-06-04 20:44:11 +08:00
parent d94bbb2cb3
commit 4cc1a47ef1
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -37,6 +37,7 @@ public final class GCAuthenticators {
response.data.account.uid = account.getId(); response.data.account.uid = account.getId();
response.data.account.token = account.generateSessionKey(); response.data.account.token = account.generateSessionKey();
response.data.account.email = account.getEmail(); response.data.account.email = account.getEmail();
response.data.account.twitter_name = account.getUsername();
GCAuth.getInstance().getLogger().info("[GCAuth] Client " + requestData.account + " logged in"); GCAuth.getInstance().getLogger().info("[GCAuth] Client " + requestData.account + " logged in");
return response; return response;