From 8e86173cb8ff743c47890f2e50403c3c38e1660b Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 20 Jul 2023 15:26:00 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E5=A4=8D=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E7=9A=84=E5=90=8C=E5=90=8D=E8=B4=A6=E5=8F=B7?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/models/connection_token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/authentication/models/connection_token.py b/apps/authentication/models/connection_token.py index d6ba7e89f..ce5b4829f 100644 --- a/apps/authentication/models/connection_token.py +++ b/apps/authentication/models/connection_token.py @@ -225,7 +225,7 @@ class ConnectionToken(JMSOrgBaseModel): account.asset = self.asset account.org_id = self.asset.org_id - if self.account == AliasAccount.INPUT: + if self.account in [AliasAccount.INPUT, AliasAccount.USER]: account.username = self.input_username account.secret = self.input_secret else: