Update passport-local-mongoose.js
Update passport-local-mongoose.js

check if the username field exist
saintedlama/passport-local-mongoose,heitortsergent/passport-local-mongoose-email,traedamatic/passport-local-mongoose,ashertrockman/passport-local-mongoose,traedamatic/passport-local-mongoose,saintedlama/passport-local-mongoose,theanimal666/passport-local-mongoose