mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-07-16 08:54:41 +00:00
perf: update virutal account secret_type
This commit is contained in:
@@ -607,7 +607,7 @@ class ConnectionTokenViewSet(AuthFaceMixin, ExtraActionApiMixin, RootOrgViewMixi
|
||||
data['input_secret'] = ''
|
||||
data['input_secret_type'] = account.secret_type
|
||||
|
||||
if account.username != AliasAccount.INPUT:
|
||||
if account_alias != AliasAccount.INPUT and account_alias != AliasAccount.USER:
|
||||
data['input_username'] = ''
|
||||
data['input_secret_type'] = ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user