enable auth providers
This commit is contained in:
parent
c4bfaf01d5
commit
db212d90de
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue