From 826be30340f9e5b45fc5046c625d9c43449700e6 Mon Sep 17 00:00:00 2001 From: SpaceFox Date: Thu, 26 Feb 2015 21:15:28 +0100 Subject: [PATCH] Fixes #2204: Twitter ne fournit pas de mail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Et pas de mail = des fonctionnalités HS = on n'autorise plus Twitter --- templates/member/login.html | 3 --- templates/member/register/index.html | 3 --- zds/settings.py | 3 --- 3 files changed, 9 deletions(-) diff --git a/templates/member/login.html b/templates/member/login.html index fabf71cffa..e8836f6915 100644 --- a/templates/member/login.html +++ b/templates/member/login.html @@ -47,9 +47,6 @@

{% trans "Connexion via réseaux sociaux" %}

{% trans "Connexion via Facebook" %} - - {% trans "Connexion via Twitter" %} - {% trans "Connexion via Google+" %} diff --git a/templates/member/register/index.html b/templates/member/register/index.html index f802b6ecc8..046c4da2eb 100644 --- a/templates/member/register/index.html +++ b/templates/member/register/index.html @@ -51,9 +51,6 @@

Inscription via réseaux sociaux

Inscription via Facebook - - Inscription via Twitter - Inscription via Google+ diff --git a/zds/settings.py b/zds/settings.py index 6b67b66a35..d50d367ec0 100644 --- a/zds/settings.py +++ b/zds/settings.py @@ -470,7 +470,6 @@ AUTHENTICATION_BACKENDS = ('social.backends.facebook.FacebookOAuth2', 'social.backends.google.GoogleOAuth2', - 'social.backends.twitter.TwitterOAuth', 'django.contrib.auth.backends.ModelBackend') SOCIAL_AUTH_GOOGLE_OAUTH2_USE_DEPRECATED_API = True @@ -490,8 +489,6 @@ # redefine for real key and secret code SOCIAL_AUTH_FACEBOOK_KEY = "" SOCIAL_AUTH_FACEBOOK_SECRET = "" -SOCIAL_AUTH_TWITTER_KEY = "bVWLd2pDe6F12SXRa5FQyVTze" -SOCIAL_AUTH_TWITTER_SECRET = "pwdQ3trdMdT7Y669aKRwVM6tivrYsx3psbFnRJ5Tq4Wy1VjBNk" SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = "696570367703-r6hc7mdd27t1sktdkivpnc5b25i0uip2.apps.googleusercontent.com" SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = "mApWNh3stCsYHwsGuWdbZWP8"