devilry / devilry-django

Devilry project main repository
http://devilry.org
BSD 3-Clause "New" or "Revised" License
51 stars 24 forks source link

Gracefully insert social accounts for existing users #1283

Closed torgeirl closed 8 months ago

torgeirl commented 9 months ago

If a social account gathered with Django Allauth is missing upon login, it will simply be re-created.

It does however cause an AssertionError in allauth/account/utils.py in setup_user_email(), line 331:

assert not EmailAddress.objects.filter(user=user).exists()
espenak commented 8 months ago

Probably something similar to https://github.com/devilry/trix2/issues/128

torgeirl commented 8 months ago

Unable to reproduce the issue with v6.2.2 so it seems this fixed it. :+1: