Lemmy: Wrong error message when signing up with an email address that is already in use

Created on 17 Jan 2020  路  1Comment  路  Source: LemmyNet/lemmy

to reproduce:

  1. create an account with email
  2. logout
  3. create a second account, with a different username and the same email

result: error message "the user already exists"

bug

Most helpful comment

This one's a little trickier than others, because its a sql uniqueness constraint failing, and I have to hope that it tells me which constraint failed. I think its doable tho.

>All comments

This one's a little trickier than others, because its a sql uniqueness constraint failing, and I have to hope that it tells me which constraint failed. I think its doable tho.

Was this page helpful?
0 / 5 - 0 ratings