Django-allauth : prevent user to provide alternative email when logging using social account

I use django-allauth with google and facebook providers and the following options:


With these settings, django-allauth will use the email provided by the 3rd-party app (Facebook, Google), unless it is already used in an existing account. In this case the user can choose whatever email.

I would like an error message instead of that, saying that the address is already in use since I do not want to validate email with social accounts (using social accounts should be handy).

How to prevent using social accounts that are associated with an address which is already registered?

Back to Top