[fix] auth user

This commit is contained in:
les
2019-10-31 23:27:59 +01:00
parent 6d9f6699ef
commit a2505e913f
3 changed files with 4 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ module.exports = (sequelize, DataTypes) => {
}, {
scopes: {
withoutPassword: {
attributes: { exclude: ['password', 'recover_code'] }
attributes: { exclude: ['password', 'recover_code', 'rsa'] }
}
}
})