aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arthur/exts/directory/ldap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/arthur/exts/directory/ldap.py b/arthur/exts/directory/ldap.py
index edf5f1a..4b41baf 100644
--- a/arthur/exts/directory/ldap.py
+++ b/arthur/exts/directory/ldap.py
@@ -224,7 +224,7 @@ class LDAP(commands.Cog):
after_roles = {role.id for role in after.roles}
if LDAP_BASE_STAFF_ROLE in before_roles or LDAP_BASE_STAFF_ROLE in after_roles:
- self.sync_users()
+ await self.sync_users()
async def bootstrap(self, user: discord.Member) -> tuple[BootstrapType, str, str | None]:
"""Bootstrap a user into the LDAP directory, either creating or resetting the password."""