mirror of
https://github.com/strapi/strapi.git
synced 2026-01-05 11:45:51 +00:00
50 lines
945 B
JSON
50 lines
945 B
JSON
{
|
|
"connection": "default",
|
|
"info": {
|
|
"name": "user",
|
|
"description": ""
|
|
},
|
|
"attributes": {
|
|
"username": {
|
|
"type": "string",
|
|
"minLength": 3,
|
|
"unique": true,
|
|
"configurable": false,
|
|
"required": true
|
|
},
|
|
"email": {
|
|
"type": "email",
|
|
"minLength": 6,
|
|
"configurable": false,
|
|
"required": true
|
|
},
|
|
"password": {
|
|
"type": "password",
|
|
"minLength": 6,
|
|
"configurable": false,
|
|
"private": true
|
|
},
|
|
"resetPasswordToken": {
|
|
"type": "string",
|
|
"configurable": false,
|
|
"private": true
|
|
},
|
|
"confirmed": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"configurable": false
|
|
},
|
|
"blocked": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"configurable": false
|
|
},
|
|
"role": {
|
|
"model": "role",
|
|
"via": "users",
|
|
"plugin": "users-permissions",
|
|
"configurable": false
|
|
}
|
|
}
|
|
}
|