fix make usernames required

This commit is contained in:
Berkeley Martinez
2015-06-12 13:14:07 -07:00
parent 173d46ae01
commit 63937c3a56
2 changed files with 15 additions and 3 deletions

View File

@ -44,7 +44,8 @@
"username": {
"type": "string",
"lowercase": true,
"trim": true
"trim": true,
"id": true
},
"bio": {
"type": "string",
@ -226,7 +227,18 @@
}
},
"validations": [],
"relations": {},
"relations": {
"credentials": {
"type": "hasMany",
"model": "userCredential",
"foreignKey": ""
},
"identities": {
"type": "hasMany",
"model": "userIdentity",
"foreignKey": ""
}
},
"acls": [
{
"accessType": "*",

View File

@ -2,7 +2,7 @@
"restApiRoot": "/api",
"host": "0.0.0.0",
"port": 3000,
"legacyExplorer" : false,
"legacyExplorer": false,
"remoting": {
"context": {
"enableHttpContext": false