Skip to content

Commit

Permalink
Fix Facebook Login
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavoVS committed Sep 14, 2017
1 parent 09369e5 commit 2d22c29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timtec/settings.py
Expand Up @@ -245,14 +245,14 @@
'facebook': {
'SCOPE': ['email'],
'METHOD': 'oauth2',
'VERSION': 'v2.2',
'VERSION': 'v2.10',
},
}

# django-registration flag
# ACCOUNT_ACTIVATION_DAYS = 7
REGISTRATION_DEFAULT_GROUP_NAME = 'students'
ACCOUNT_ADAPTER = "accounts.adapter.TimtecAdapter"
# ACCOUNT_ADAPTER = "accounts.adapter.TimtecAdapter"
ACCOUNT_UNIQUE_EMAIL = True
ACCOUNT_AUTHENTICATION_METHOD = "username_email"
ACCOUNT_EMAIL_CONFIRMATION_EXPIRE_DAYS = 7
Expand Down

0 comments on commit 2d22c29

Please sign in to comment.