mirror of
https://github.com/strapi/strapi.git
synced 2025-12-29 16:16:20 +00:00
Add required fields to user model
This commit is contained in:
parent
f0ffee869e
commit
a976284786
@ -9,13 +9,15 @@
|
||||
"type": "string",
|
||||
"minLength": 3,
|
||||
"unique": true,
|
||||
"configurable": false
|
||||
"configurable": false,
|
||||
"required": true
|
||||
},
|
||||
"email": {
|
||||
"type": "email",
|
||||
"minLength": 6,
|
||||
"unique": true,
|
||||
"configurable": false
|
||||
"configurable": false,
|
||||
"required": true
|
||||
},
|
||||
"provider": {
|
||||
"type": "string",
|
||||
@ -24,7 +26,8 @@
|
||||
"password": {
|
||||
"type": "password",
|
||||
"minLength": 6,
|
||||
"configurable": false
|
||||
"configurable": false,
|
||||
"required": true
|
||||
},
|
||||
"resetPasswordToken": {
|
||||
"type": "string",
|
||||
@ -36,4 +39,4 @@
|
||||
}
|
||||
},
|
||||
"connection": "default"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user