mirror of
https://github.com/strapi/strapi.git
synced 2025-12-13 07:55:33 +00:00
Remove password and token from fetchable data
This commit is contained in:
parent
ce00536663
commit
bef37d0cec
@ -414,33 +414,33 @@
|
|||||||
"controllers": {
|
"controllers": {
|
||||||
"auth": {
|
"auth": {
|
||||||
"identity": {
|
"identity": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"policy": ""
|
"policy": ""
|
||||||
},
|
},
|
||||||
"callback": {
|
"callback": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"policy": ""
|
"policy": ""
|
||||||
},
|
},
|
||||||
"register": {
|
"register": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"policy": ""
|
"policy": ""
|
||||||
},
|
},
|
||||||
"forgotPassword": {
|
"forgotPassword": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"policy": ""
|
"policy": ""
|
||||||
},
|
},
|
||||||
"changePassword": {
|
"changePassword": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"policy": ""
|
"policy": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"user": {
|
"user": {
|
||||||
"find": {
|
"find": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"policy": ""
|
"policy": ""
|
||||||
},
|
},
|
||||||
"findOne": {
|
"findOne": {
|
||||||
"enabled": false,
|
"enabled": true,
|
||||||
"policy": ""
|
"policy": ""
|
||||||
},
|
},
|
||||||
"create": {
|
"create": {
|
||||||
|
|||||||
@ -20,10 +20,12 @@
|
|||||||
},
|
},
|
||||||
"password": {
|
"password": {
|
||||||
"type": "password",
|
"type": "password",
|
||||||
"minLength": 6
|
"minLength": 6,
|
||||||
|
"select": false
|
||||||
},
|
},
|
||||||
"resetPasswordToken": {
|
"resetPasswordToken": {
|
||||||
"type": "string"
|
"type": "string",
|
||||||
|
"select": false
|
||||||
},
|
},
|
||||||
"role": {
|
"role": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user