Remove enum from user gender string

Fixes a bug where when logging in with G+ with profile gender 'other', login doesn't fail silently.
This commit is contained in:
Scott Erickson 2016-01-04 16:34:50 -08:00
parent 20c9d3fca2
commit 220c124780

View file

@ -53,7 +53,7 @@ _.extend UserSchema.properties,
iosIdentifierForVendor: c.shortString({format: 'hidden'})
firstName: c.shortString({title: 'First Name'})
lastName: c.shortString({title: 'Last Name'})
gender: {type: 'string', 'enum': ['male', 'female', 'secret', 'trans']}
gender: {type: 'string'} # , 'enum': ['male', 'female', 'secret', 'trans', 'other']
ageRange: {type: 'string'} # 'enum': ['0-13', '14-17', '18-24', '25-34', '35-44', '45-100']
password: {type: 'string', maxLength: 256, minLength: 2, title: 'Password'}
passwordReset: {type: 'string'}