mirror of https://github.com/jumpserver/jumpserver
perf: 优化推送系统用户,设置有效期
parent
f146873501
commit
5e6e97c822
|
@ -57,6 +57,7 @@ def get_push_unixlike_system_user_tasks(system_user, username=None):
|
|||
'state': 'present',
|
||||
'home': system_user.home or Empty,
|
||||
'groups': groups or Empty,
|
||||
'expires': 99999,
|
||||
'comment': comment
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue