mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-05 05:01:55 +00:00
fix: ldap定时任务未执行
This commit is contained in:
parent
38175d6b57
commit
dc39cbf037
@ -69,7 +69,6 @@ def import_ldap_user_periodic():
|
|||||||
if not settings.AUTH_LDAP:
|
if not settings.AUTH_LDAP:
|
||||||
return
|
return
|
||||||
task_name = 'import_ldap_user_periodic'
|
task_name = 'import_ldap_user_periodic'
|
||||||
disable_celery_periodic_task(task_name)
|
|
||||||
if not settings.AUTH_LDAP_SYNC_IS_PERIODIC:
|
if not settings.AUTH_LDAP_SYNC_IS_PERIODIC:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user