sdelements / lets-chat-ldap

LDAP plugin for Let's Chat
MIT License
33 stars 12 forks source link

can't log in more than once #6

Open predmond opened 9 years ago

predmond commented 9 years ago

I've configured settings.yml to use ldap only and I can successfully log in. However, if I log out then log in again I get an error like:

{ [ValidationError: Validation failed]
  message: 'Validation failed',
  name: 'ValidationError',
  errors:
   { username:
      { [ValidatorError: Expected username to be unique]
        message: 'Expected username to be unique',
        name: 'ValidatorError',
        path: 'username',
        type: 'user defined',
        value: 'predmond' },
     email:
      { [ValidatorError: Expected email to be unique]
        message: 'Expected email to be unique',
        name: 'ValidatorError',
        path: 'email',
        type: 'user defined',
        value: 'predmond@xxxxxxxxxxxxx.xxx' } } }
sibartlett commented 9 years ago

Can you post your LDAP configuration? Or email it to me at simon@securitycompass.com