Browse Source

fix: ldap定时任务未执行

pull/13186/head
wangruidong 7 months ago committed by 老广
parent
commit
dc39cbf037
  1. 1
      apps/settings/tasks/ldap.py

1
apps/settings/tasks/ldap.py

@ -69,7 +69,6 @@ def import_ldap_user_periodic():
if not settings.AUTH_LDAP:
return
task_name = 'import_ldap_user_periodic'
disable_celery_periodic_task(task_name)
if not settings.AUTH_LDAP_SYNC_IS_PERIODIC:
return

Loading…
Cancel
Save