Browse Source

Fix missing bind=True

master
Jan Dittberner 2 years ago
parent
commit
8875765018
  1. 2
      gvaldap/ldaptasks/tasks.py

2
gvaldap/ldaptasks/tasks.py

@ -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…
Cancel
Save