mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
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:
parent
20c9d3fca2
commit
220c124780
1 changed files with 1 additions and 1 deletions
|
@ -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'}
|
||||
|
|
Loading…
Reference in a new issue