Compare fields and not object to avoid fields added by mongoose to break the build
Compare fields and not object to avoid fields added by mongoose to break the build

saintedlama/passport-local-mongoose,saintedlama/passport-local-mongoose