whiteboards / converse

Personal social expirement
MIT License
0 stars 3 forks source link

User validation error #8

Closed NathanBland closed 8 years ago

NathanBland commented 8 years ago

When attempting to sign up through the web interface with all fields filled in, the following error is dumped, example details included.

user details: { email: 'nathan.bland@gmail.com',
  username: 'Nathan Bland',
  password: 'sample' }
{ [ValidationError: user validation failed]
  message: 'user validation failed',
  name: 'ValidationError',
  errors: 
   { username: 
      { [ValidatorError: Path `username` is required.]
        properties: [Object],
        message: 'Path `username` is required.',
        name: 'ValidatorError',
        kind: 'required',
        path: 'username',
        value: undefined } } }

This appears to be an issue with mongoose models, or passport. At this point I'm not sure which.

NathanBland commented 8 years ago

This is resolved by this merge