title: Passport: Allow sign up with name and email address? (Local Strategy)
body: <p>Is there any way to allow a user to register on the local strategy with his password, email and name?<br>
  Every example I could find online only use name/password or email/password.  </p>
  
  <p>I also searched through the the whole passport documentation, but that documentation isn't helpful at all. It's just one bloated site full of examples.<br>
  I just need an list of functions, classes and variables passport uses with explanations what they and every parameter of them do. Every good library has something like that, why can't I find it for passport?</p>
  
  <p>Here are the key parts of my code:</p>
  
  <pre><code>passport.use('local-signup', new LocalStrategy({
      usernameField: 'email',
      passwordField: 'password',
      //are there other options?
      //emailField did not seem to do anything
      passReqToCallback: true // allows us to pass in the req from our route (lets us check if a user is logged in or not)
  },
  function(req, email, password, done) {
      //check if email not already in database
          //create new user using "email" and "password"
          //I want an additional parameter here "name"
  }));
  </code></pre>
  
  <p>So is passport really that limited? There has to be a way to do this, right?</p>