mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-19 10:26:27 +00:00
perf: 修改账号选择
This commit is contained in:
@@ -265,6 +265,8 @@ class Applet(JMSBaseModel):
|
||||
if not host.using_same_account:
|
||||
return
|
||||
account = VirtualAccount.get_same_account(user, host)
|
||||
if not account.secret:
|
||||
return
|
||||
return account
|
||||
|
||||
def select_host_account(self, user, asset):
|
||||
|
Reference in New Issue
Block a user