From 4cc1a47ef1888363a99e7b1b1801e40d252dd787 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Sat, 4 Jun 2022 20:44:11 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20twitter=5Fname=20do=20not?= =?UTF-8?q?=20show?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/xtaolabs/gcauth_oauth/handler/GCAuthenticators.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/xtaolabs/gcauth_oauth/handler/GCAuthenticators.java b/src/main/java/com/xtaolabs/gcauth_oauth/handler/GCAuthenticators.java index 5066d7f..362fc10 100644 --- a/src/main/java/com/xtaolabs/gcauth_oauth/handler/GCAuthenticators.java +++ b/src/main/java/com/xtaolabs/gcauth_oauth/handler/GCAuthenticators.java @@ -37,6 +37,7 @@ public final class GCAuthenticators { response.data.account.uid = account.getId(); response.data.account.token = account.generateSessionKey(); response.data.account.email = account.getEmail(); + response.data.account.twitter_name = account.getUsername(); GCAuth.getInstance().getLogger().info("[GCAuth] Client " + requestData.account + " logged in"); return response;