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": { "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": "*",

View File

@ -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