Fix missing bind=True
This commit is contained in:
parent
99c80f5759
commit
8875765018
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ def set_ldap_user_password(username, password):
|
|||
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):
|
||||
"""
|
||||
This task adds the specified user to the given group.
|
||||
|
|
Loading…
Reference in a new issue