[v9.4.x] LDAP: Fix user disabling (#74318)
* [LDAP] Disable removed users on login (#74016) * manual backport of #74016 on legacy code * LDAP: Fix active sync with large quantities of users (#73834) * Fix authenticate user test
This commit is contained in:
@@ -176,7 +176,7 @@ func (s *UserSync) updateUserAttributes(ctx context.Context, usr *user.User, id
|
||||
}
|
||||
|
||||
if needsUpdate {
|
||||
s.log.Debug("Syncing user info", "id", usr.ID, "update", updateCmd)
|
||||
s.log.Debug("Syncing user info", "id", id.ID, "update", fmt.Sprintf("%v", updateCmd))
|
||||
if err := s.userService.Update(ctx, updateCmd); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user