Skip to content

Commit

Permalink
log groups to update
Browse files Browse the repository at this point in the history
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
  • Loading branch information
drakkan committed Sep 9, 2024
1 parent a560ab4 commit 5a7ef11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authenticator/ldap.go
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ func (a *LDAPAuthenticator) isUserToUpdate(u *sdk.User, groups []sdk.GroupMappin
return false
}
if len(groups) != len(u.Groups) {
logger.AppLogger.Debug("groups to update", "user", u.Username)
logger.AppLogger.Debug("groups to update", "user", u.Username, "groups", groups)
return true
}
for _, g := range groups {
Expand Down

0 comments on commit 5a7ef11

Please sign in to comment.