avishaan / lightTribe

LightTribe Backend and Collaboration Doc
2 stars 0 forks source link

Remove sensitive field by default #38

Open avishaan opened 9 years ago

avishaan commented 9 years ago

In mongoose schema use select: false to prevent field from accidentally being populated and sent back to front end

avishaan commented 9 years ago

{select: false} seems to suppress all fields in the schema. Need to see if this is a bug.