[fix] auth user
This commit is contained in:
@@ -34,7 +34,7 @@ module.exports = (sequelize, DataTypes) => {
|
||||
}, {
|
||||
scopes: {
|
||||
withoutPassword: {
|
||||
attributes: { exclude: ['password', 'recover_code'] }
|
||||
attributes: { exclude: ['password', 'recover_code', 'rsa'] }
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user