mirror of
https://github.com/strapi/strapi.git
synced 2025-11-09 22:59:14 +00:00
Hide specific model fields from response
This commit is contained in:
parent
7f2a5cbb66
commit
2f8169c792
@ -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",
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user