Fix missing bind=True

This commit is contained in:
Jan Dittberner 2020-03-03 14:54:16 +01:00
parent 99c80f5759
commit 8875765018
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ def set_ldap_user_password(username, password):
return retval return retval
@shared_task(autoretry_for=(DjangoDBUtilsError,), default_retry_delay=10) @shared_task(bind=True, autoretry_for=(DjangoDBUtilsError,), default_retry_delay=10)
def add_ldap_user_to_group(self, username, groupname): def add_ldap_user_to_group(self, username, groupname):
""" """
This task adds the specified user to the given group. This task adds the specified user to the given group.