finished validation on the form fields

This commit is contained in:
Michael Q Larson
2015-01-08 14:56:44 -08:00
parent 5992d30ce9
commit 0ec2e0a759
3 changed files with 66 additions and 22 deletions

View File

@@ -272,23 +272,28 @@ var userSchema = new mongoose.Schema({
trim: true
},
name: {
type: String, default: ''
type: String,
default: ''
},
gender: {
type: String, default: ''
type: String,
default: ''
},
location: {
type: String, default: ''
type: String,
default: ''
},
picture: {
type: String,
default: ''
},
linkedinProfile: {
type: String, default: ''
type: String,
default: ''
},
githubProfile: {
type: String, default: ''
type: String,
default: ''
},
coderbyteProfile: {
type: String,