adshayanB / jobMaps

3 stars 0 forks source link

Improve User Schema with a hidden field for password #41

Closed adshayanB closed 3 years ago

adshayanB commented 3 years ago

We would like our schema to be something like this for the password field

var userSchema = new mongoose.Schema({ username: String, password: {type: String, select: false} });

adshayanB commented 3 years ago

Deemed not necessary anymore