Skip to content

Commit

Permalink
Merge pull request #2383 from SpaceFox/remove_twitter
Browse files Browse the repository at this point in the history
Enlève Twitter des options d'inscription et de connexion
  • Loading branch information
SpaceFox committed Feb 26, 2015
2 parents 38fa562 + 826be30 commit 448a4e2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions templates/member/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ <h2>{% trans "Connexion via réseaux sociaux" %}</h2>
<a href="{% url "social:begin" "facebook" %}" class="btn ico-after facebook light btn-facebook btn-holder">
{% trans "Connexion via Facebook" %}
</a>
<a href="{% url "social:begin" "twitter" %}" class="btn ico-after twitter light btn-twitter btn-holder">
{% trans "Connexion via Twitter" %}
</a>
<a href="{% url "social:begin" "google-oauth2" %}" class="btn ico-after google-plus light btn-google-plus btn-holder">
{% trans "Connexion via Google+" %}
</a>
Expand Down
3 changes: 0 additions & 3 deletions templates/member/register/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ <h2>Inscription via réseaux sociaux</h2>
<a href="{% url "social:begin" "facebook" %}" class="btn ico-after facebook light btn-facebook btn-holder">
Inscription via Facebook
</a>
<a href="{% url "social:begin" "twitter" %}" class="btn ico-after twitter light btn-twitter btn-holder">
Inscription via Twitter
</a>
<a href="{% url "social:begin" "google-oauth2" %}" class="btn ico-after google-plus light btn-google-plus btn-holder">
Inscription via Google+
</a>
Expand Down
3 changes: 0 additions & 3 deletions zds/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"

Expand Down

0 comments on commit 448a4e2

Please sign in to comment.