mirror of https://github.com/jumpserver/jumpserver
fix: 修复定时检测用户是否活跃任务无法执行的问题
parent
7aa6613e69
commit
34aa48d18c
|
@ -86,7 +86,7 @@ def check_user_expired_periodic():
|
||||||
@tmp_to_root_org()
|
@tmp_to_root_org()
|
||||||
def check_unused_users():
|
def check_unused_users():
|
||||||
uncommon_users_ttl = settings.SECURITY_UNCOMMON_USERS_TTL
|
uncommon_users_ttl = settings.SECURITY_UNCOMMON_USERS_TTL
|
||||||
if not uncommon_users_ttl or not uncommon_users_ttl.isdigit():
|
if not uncommon_users_ttl:
|
||||||
return
|
return
|
||||||
|
|
||||||
uncommon_users_ttl = int(uncommon_users_ttl)
|
uncommon_users_ttl = int(uncommon_users_ttl)
|
||||||
|
|
Loading…
Reference in New Issue