]> git.parisson.com Git - django-social-auth.git/commitdiff
Mention SOCIAL_AUTH_LAST_LOGIN setting. Refs #348
authorMatías Aguirre <matiasaguirre@gmail.com>
Tue, 15 May 2012 20:34:48 +0000 (17:34 -0300)
committerMatías Aguirre <matiasaguirre@gmail.com>
Tue, 15 May 2012 20:34:48 +0000 (17:34 -0300)
README.rst
doc/configuration.rst

index f185e05dcb45d876a6508ff283592dc6df8955d0..de123f41bbc19a9830270072e2c34b9b90b1d19b 100644 (file)
@@ -397,6 +397,12 @@ Configuration
 
     SOCIAL_AUTH_REDIRECT_IS_HTTPS = True
 
+- The name of the last backend used to login is stored as a string in the
+  session under the key ``social_auth_last_login_backend``, the key can be
+  customized by defining this setting::
+
+    SOCIAL_AUTH_LAST_LOGIN = 'social_auth_last_login_backend'
+
 
 Some settings can be tweak by backend by adding the backend name prefix (all
 uppercase and replace ``-`` with ``_``), here's the supported settings so far::
@@ -1353,4 +1359,4 @@ Base work is copyrighted by:
 .. _Mail.ru OAuth: http://api.mail.ru/docs/guides/oauth/
 .. _Odnoklassniki OAuth: http://dev.odnoklassniki.ru/wiki/display/ok/The+OAuth+2.0+Protocol
 .. _authentication for VKontakte applications: http://www.ikrvss.ru/2011/11/08/django-social-auh-and-vkontakte-application/
-.. _Facebook Canvas Application Authentication: http://www.ikrvss.ru/2011/09/22/django-social-auth-and-facebook-canvas-applications/
\ No newline at end of file
+.. _Facebook Canvas Application Authentication: http://www.ikrvss.ru/2011/09/22/django-social-auth-and-facebook-canvas-applications/
index 532b0a01117e99badc81f488a6a352cede783b49..b6e418faa895aafc8922f4048f221a9517ffc083 100644 (file)
@@ -285,6 +285,12 @@ Configuration
 
     SOCIAL_AUTH_REDIRECT_IS_HTTPS = True
 
+- The name of the last backend used to login is stored as a string in the
+  session under the key ``social_auth_last_login_backend``, the key can be
+  customized by defining this setting::
+
+    SOCIAL_AUTH_LAST_LOGIN = 'social_auth_last_login_backend'
+
 Some settings can be tweak by backend by adding the backend name prefix (all
 uppercase and replace ``-`` with ``_``), here's the supported settings so far::