mirror of https://github.com/jumpserver/jumpserver
perf: 修改账号选择
parent
d6b75ac700
commit
5673698a57
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue