Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 0ca6414

Browse files
committed
Fix logging of user mapping
1 parent 12f2010 commit 0ca6414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/coffee/synyx/auth/authentication/config/LdapCoffeeNetUserDetailsContextMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public UserDetails mapUserFromContext(DirContextOperations ctx, String username,
3939

4040
String mail = ctx.getStringAttribute("mail");
4141
CoffeeNetUserDetails coffeeNetUserDetails = new CoffeeNetUserDetails(ldapUserDetails, mail);
42-
LOGGER.info("//> Mapped user {} from ldap to CoffeeNetUserDetails", username);
42+
LOGGER.info("//> Mapped user {} from ldap to CoffeeNetUserDetails", uid);
4343
LOGGER.debug("//> User {} is", coffeeNetUserDetails);
4444

4545
return coffeeNetUserDetails;

0 commit comments

Comments
 (0)