mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-01 06:45:55 +00:00
perf: 优化推送系统用户,设置有效期
This commit is contained in:
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
Block a user