fix: ldap定时任务未执行

pull/13186/head
wangruidong 2024-05-06 18:08:53 +08:00 committed by 老广
parent 38175d6b57
commit dc39cbf037
1 changed files with 0 additions and 1 deletions

View File

@ -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