simonv3 opened this issue 2 years ago · 0 comments
Extend sequelize's model creation to include defaultScope:
defaultScope: { attributes: { exclude: ['password'], }, }, ```