Hide specific model fields from response

This commit is contained in:
Aurelsicoko 2018-02-06 18:09:04 +01:00
parent 7f2a5cbb66
commit 2f8169c792
2 changed files with 5 additions and 1 deletions

View File

@ -25,7 +25,8 @@
"password": {
"type": "password",
"minLength": 6,
"configurable": false
"configurable": false,
"private": true
},
"resetPasswordToken": {
"type": "string",

View File

@ -244,6 +244,9 @@ module.exports.app = async function() {
boom: {
enabled: true
},
mask: {
enabled: true
},
// Necessary middlewares for the administration panel.
cors: {
enabled: true