diff options
author | 2024-07-30 09:31:56 +0100 | |
---|---|---|
committer | 2024-07-30 09:31:56 +0100 | |
commit | 8f1f4587812d50586eb833d1d9fe9c72486b6c4c (patch) | |
tree | 7ef1a21b76c32b602efceef3b6b31e99b4e25f44 | |
parent | Update endpoint used to fetch all users (diff) |
Add additional logging to LDAP bootstrapper
-rw-r--r-- | arthur/exts/directory/ldap.py | 2 |
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) |