mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-03 16:35:10 +00:00
Add new model to operate log (#3546)
* [Update] 添加一下model到operate log, [platform,remoteapppermission,changeauthplan,gatherusertask] * [Bugfix] 修改了返回platform的几个位置,修改了command execution的url * [Update] 优化ops task表结构,避免列表页查询几十次sql, 优化了基础的encryptjsonfield * [Update] 修改adhoc 返回的become字段,避免密码泄露 * [Update] 修改变量名称
This commit is contained in:
@@ -184,8 +184,11 @@ def encrypt_password(password, salt=None):
|
||||
|
||||
|
||||
def get_signer():
|
||||
signer = Signer(settings.SECRET_KEY)
|
||||
return signer
|
||||
s = Signer(settings.SECRET_KEY)
|
||||
return s
|
||||
|
||||
|
||||
signer = get_signer()
|
||||
|
||||
|
||||
def ensure_last_char_is_ascii(data):
|
||||
|
Reference in New Issue
Block a user