mirror of https://github.com/jumpserver/jumpserver
fix: 修复手动登录用户失败的问题
parent
df249a0355
commit
48b937d867
|
@ -222,9 +222,9 @@ class ConnectionToken(JMSOrgBaseModel):
|
||||||
'secret_type': account.secret_type,
|
'secret_type': account.secret_type,
|
||||||
'secret': account.secret or self.input_secret,
|
'secret': account.secret or self.input_secret,
|
||||||
'su_from': account.su_from,
|
'su_from': account.su_from,
|
||||||
'org_id': account.org_id
|
'org_id': account.org_id,
|
||||||
|
'privileged': account.privileged
|
||||||
}
|
}
|
||||||
data['privileged'] = account.privileged
|
|
||||||
return Account(**data)
|
return Account(**data)
|
||||||
|
|
||||||
@lazyproperty
|
@lazyproperty
|
||||||
|
|
Loading…
Reference in New Issue