From 2dc9907cbcb785dc3b104b1ee23092d302493ec9 Mon Sep 17 00:00:00 2001 From: Jonnn-y <95204418+Jonnn-y@users.noreply.github.com> Date: Wed, 8 Jul 2026 16:33:56 +0800 Subject: [PATCH] Fix ad domain virtual account (#16729) * fix(authentication): apply ad_domain logic to virtual accounts --------- Co-authored-by: Bryan --- apps/authentication/models/connection_token.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/authentication/models/connection_token.py b/apps/authentication/models/connection_token.py index 3a8a4cbe3..1943633b1 100644 --- a/apps/authentication/models/connection_token.py +++ b/apps/authentication/models/connection_token.py @@ -310,8 +310,8 @@ class ConnectionToken(JMSOrgBaseModel): if not account.secret and self.input_secret: account.secret = self.input_secret account.secret_type = self.input_secret_type - self.set_ad_domain_if_need(account) - + + self.set_ad_domain_if_need(account) return account @lazyproperty