jsmesami/naovoce

Social signup sometimes throws db IntegrityError

Closed this issue · 1 comments

Possibly an error in how SocialAccount and FruitUser get connected during social signup, throwing:

django.db.utils.IntegrityError: duplicate key value violates unique constraint "user_fruituser_pkey"
DETAIL:  Key (id)=(1208) already exists.

or

django.db.utils.IntegrityError: duplicate key value violates unique constraint "account_emailaddress_pkey"
DETAIL:  Key (id)=(1200) already exists.

Won't reproduce.