exclude password from returned data when user is created in mongoose code example Example: how avoid populate mongoose return password password: { type: String, select: false }