aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-07-30 09:34:07 +0100
committerGravatar GitHub <[email protected]>2024-07-30 09:34:07 +0100
commiteefbc96f20ec2e0183c822b0c642d33f2d010f2e (patch)
tree7ef1a21b76c32b602efceef3b6b31e99b4e25f44
parentUpdate endpoint used to fetch all users (diff)
parentAdd additional logging to LDAP bootstrapper (diff)
Merge pull request #249 from python-discord/jb3-patch-1
Add additional logging to LDAP bootstrapper
-rw-r--r--arthur/exts/directory/ldap.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/arthur/exts/directory/ldap.py b/arthur/exts/directory/ldap.py
index 4c63a11..79d5924 100644
--- a/arthur/exts/directory/ldap.py
+++ b/arthur/exts/directory/ldap.py
@@ -127,8 +127,10 @@ class BootstrapView(ui.View):
if bootstrap_type == BootstrapType.CREATION:
title = "Account Creation"
+ logger.info(f"Created account for {user}")
else:
title = "Password Reset"
+ logger.info(f"Reset password for {user}")
content = CREDENTIALS_SECTION.format(title=title, username=user.name, password=password)