docs: function hashPassword (passport, next) {
    if (passport.password) {
      bcrypt.hash(passport.password, 10, function (err, hash) {
        passport.password = hash;
        next(err, passport);
      });
    } else {
      next(null, passport);
    }
  }