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