NBISweden / swefreq

Swedish Frequency resource for genomics website
https://swefreq.nbis.se/
GNU General Public License v3.0
8 stars 1 forks source link

Unable to add Elixir users to db if there is a Google user with the same email #580

Closed talavis closed 1 month ago

talavis commented 5 years ago

Expected Behavior

Elixir users should be able to use SweFreq no matter whether Google user with same email exists.

Current Behavior

The process crashes because email must be unique.

Possible Solution

Replace Google user with Elixir user or allow two users with same email to exist.

talavis commented 5 years ago

As the number of potential users that may be affected by this bug is low (and won't increase), the issue may be fixed at db level instead of in code.