I\'m sure I\'m missing something really obvious here, but I can\'t figure this out. The function I\'ve passed to the LocalStrategy constructor doesn\'t get called when the l
npm install passport-local
var passport = require('passport') , LocalStrategy = require('passport-local').Strategy;
According to passportjs.org and it worked for me!