From 8f1f4587812d50586eb833d1d9fe9c72486b6c4c Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Tue, 30 Jul 2024 09:31:56 +0100 Subject: Add additional logging to LDAP bootstrapper --- arthur/exts/directory/ldap.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arthur/exts/directory/ldap.py') 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) -- cgit v1.2.3