meteor/accounts-base/accounts_server.js
function (connection, attempt) {
  var clonedAttempt = EJSON.clone(attempt);
  clonedAttempt.connection = connection;
  return clonedAttempt;
}
function (connection, attempt) {
  var clonedAttempt = EJSON.clone(attempt);
  clonedAttempt.connection = connection;
  return clonedAttempt;
}
function ( connection , attempt ) { var clonedAttempt = EJSON . clone ( attempt ) ; clonedAttempt . connection = connection ; return clonedAttempt ; }
Give each login hook callback a fresh cloned copy of the attempt object, but don't clone the connection.
Give each login hook callback a fresh cloned copy of the attempt object but don t clone the connection .