3035app / pialab-back

GNU Affero General Public License v3.0
8 stars 7 forks source link

User creation failed if one user is already exist with the same adresse mail #27

Closed GhostRock37 closed 6 years ago

GhostRock37 commented 6 years ago

Hello !

create a user by filling in an email address already filled in on a newly created userp causes a 500 error

image

image

RomainSanchez commented 6 years ago

Thanks @GhostRock37. this is caused by the unique constraint on user email.We forgot to manage the error. We'll fix it as soon as we can

PapsOu commented 6 years ago

Hello @GhostRock37, this PR #37 should do the trick.

It will be available for the next release.