haystack / nb

12 stars 10 forks source link

Add error message if username or email not unique #56

Closed lihelennn closed 3 years ago

lihelennn commented 3 years ago

Add error message "Your username has already been taken, or there's an existing account with this email. Please enter a unique username/email."

Note: not sure how to tell which field (username or email) is unique from the Sequilize unique constraint, but perhaps the error message is useful enough?

Referring to change from #42

image