Passport is Express-compatible authentication middleware for Node.js.
This fork of Passport adds a register function to the authenticator that works exactly like the authenticate function to allow strategies to define how new users will be registered.
See arieljake/passport-local for an implementation of LocalStrategy that implements a register function.



