fix make usernames required
This commit is contained in:
@ -44,7 +44,8 @@
|
|||||||
"username": {
|
"username": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"lowercase": true,
|
"lowercase": true,
|
||||||
"trim": true
|
"trim": true,
|
||||||
|
"id": true
|
||||||
},
|
},
|
||||||
"bio": {
|
"bio": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@ -226,7 +227,18 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"validations": [],
|
"validations": [],
|
||||||
"relations": {},
|
"relations": {
|
||||||
|
"credentials": {
|
||||||
|
"type": "hasMany",
|
||||||
|
"model": "userCredential",
|
||||||
|
"foreignKey": ""
|
||||||
|
},
|
||||||
|
"identities": {
|
||||||
|
"type": "hasMany",
|
||||||
|
"model": "userIdentity",
|
||||||
|
"foreignKey": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
"acls": [
|
"acls": [
|
||||||
{
|
{
|
||||||
"accessType": "*",
|
"accessType": "*",
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"restApiRoot": "/api",
|
"restApiRoot": "/api",
|
||||||
"host": "0.0.0.0",
|
"host": "0.0.0.0",
|
||||||
"port": 3000,
|
"port": 3000,
|
||||||
"legacyExplorer" : false,
|
"legacyExplorer": false,
|
||||||
"remoting": {
|
"remoting": {
|
||||||
"context": {
|
"context": {
|
||||||
"enableHttpContext": false
|
"enableHttpContext": false
|
||||||
|
Reference in New Issue
Block a user