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": { "password": {
"type": "password", "type": "password",
"minLength": 6, "minLength": 6,
"configurable": false "configurable": false,
"private": true
}, },
"resetPasswordToken": { "resetPasswordToken": {
"type": "string", "type": "string",

View File

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