aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-07-30 09:31:56 +0100
committerGravatar GitHub <[email protected]>2024-07-30 09:31:56 +0100
commit8f1f4587812d50586eb833d1d9fe9c72486b6c4c (patch)
tree7ef1a21b76c32b602efceef3b6b31e99b4e25f44
parentUpdate endpoint used to fetch all users (diff)
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)