From b525b4d113a66f2dbb965993d943d06be3106011 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Aguirre?= Date: Tue, 15 Feb 2011 22:48:29 -0200 Subject: [PATCH] Disconnect account feature --- example/templates/base.html | 4 ++-- example/templates/done.html | 30 +++++++++++++++--------------- example/templates/home.html | 16 ++++++++-------- social_auth/backends/__init__.py | 6 ++++++ social_auth/backends/twitter.py | 1 - social_auth/urls.py | 4 +++- social_auth/views.py | 14 +++++++++++++- 7 files changed, 47 insertions(+), 28 deletions(-) diff --git a/example/templates/base.html b/example/templates/base.html index e2692f1..d554ff8 100644 --- a/example/templates/base.html +++ b/example/templates/base.html @@ -24,7 +24,7 @@ #content {padding: 0 20px;} .helptext {font-size: 0.9em; color: #aaa; margin: 0; padding: 0;} .description {font-size: 1.0em; color: #333;} - a.logout, .associated, .error {color: #c00;} + a.logout, span.disconnect a, .error {color: #c00;} .error {padding-left: 30px;} #forkme {position: absolute; top: 0; right: 0;} #valid-badges {position: absolute; right: 10px; bottom: 10px;} @@ -35,8 +35,8 @@

Django Social Auth (v{{ version }})

Django Social Auth is an easy to setup social authentication/registration mechanism for Django projects. - Check the documentation on Github

+

Check the documentation on Github

{% block heading %}{% endblock %}

diff --git a/example/templates/done.html b/example/templates/done.html index 3b90b81..4730545 100644 --- a/example/templates/done.html +++ b/example/templates/done.html @@ -18,38 +18,38 @@

Associate new OAuth credentials:

Associate new OpenID credentials: