PlaceAVote / pav-api

This repository contains the Placeavote API.
0 stars 0 forks source link

Change the error message on PUT /user/facebook when a user exists. #99

Closed SudoPlz closed 8 years ago

SudoPlz commented 8 years ago

Currently no matter what email I use (I even tried with aiownfaoiwnfwoiaoawbgoiwabgoiabgwa@placeavote.com), if theres already a user with a specific facebookId stored in the server, he won't be allowed to make a second account using the same facebook profile (which is GOOD).

The problem is we get the error: A User already exists with this email, even though the problem is not the email, but the facebookId already associated with an account.

sanel commented 8 years ago

So, you'd like error message to be updated or something else?

SudoPlz commented 8 years ago

Updating the error message will do!