fix: ldap定时任务未执行

v3.10.9-lts
wangruidong 2024-05-06 18:08:53 +08:00 committed by 老广
parent 4f287925f3
commit dfb6cc990b
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