diff --git a/config/settings/common.py b/config/settings/common.py index 7c1d361..112187f 100644 --- a/config/settings/common.py +++ b/config/settings/common.py @@ -36,6 +36,9 @@ THIRD_PARTY_APPS = ( 'allauth', # registration 'allauth.account', # registration 'allauth.socialaccount', # registration + 'allauth.socialaccount.providers.google', # registration + 'allauth.socialaccount.providers.github', # registration + 'allauth.socialaccount.providers.facebook', # registration 'stdimage', 'rest_framework', ) @@ -240,6 +243,7 @@ ACCOUNT_EMAIL_VERIFICATION = 'mandatory' ACCOUNT_ALLOW_REGISTRATION = env.bool('DJANGO_ACCOUNT_ALLOW_REGISTRATION', True) ACCOUNT_ADAPTER = 'mhackspace.users.adapters.AccountAdapter' SOCIALACCOUNT_ADAPTER = 'mhackspace.users.adapters.SocialAccountAdapter' +SOCIALACCOUNT_QUERY_EMAIL = True # Custom user app defaults # Select the correct user model