mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-07-11 09:25:03 +00:00
Fix ad domain virtual account (#16729)
* fix(authentication): apply ad_domain logic to virtual accounts --------- Co-authored-by: Bryan <jiangjie.bai@fit2cloud.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user