[Python-modules-commits] [python-social-auth] 65/322: Correct Django SESSION_COOKIE_AGE setting

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:12:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.10
in repository python-social-auth.

commit 0a31ebb656cf7385f421018631b335ec9acf1ec7
Author: Alex Muller <alex.muller at digital.cabinet-office.gov.uk>
Date:   Mon Dec 29 11:46:15 2014 +0000

    Correct Django SESSION_COOKIE_AGE setting
    
    I think the duplication of SOCIAL_AUTH_SESSION_EXPIRATION in this
    section is a typo.
---
 docs/configuration/settings.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/configuration/settings.rst b/docs/configuration/settings.rst
index 846381d..c0bf743 100644
--- a/docs/configuration/settings.rst
+++ b/docs/configuration/settings.rst
@@ -262,7 +262,7 @@ Miscellaneous settings
 ``SOCIAL_AUTH_SESSION_EXPIRATION = False``
     By default, user session expiration time will be set by your web
     framework (in Django, for example, it is set with
-    SOCIAL_AUTH_SESSION_EXPIRATION). Some providers return the time that the
+    `SESSION_COOKIE_AGE`_). Some providers return the time that the
     access token will live, which is stored in ``UserSocialAuth.extra_data``
     under the key ``expires``. Changing this setting to True will override your
     web framework's session length setting and set user session lengths to
@@ -303,3 +303,4 @@ using POST.
 .. _OAuth: http://oauth.net/
 .. _passwordless authentication mechanism: https://medium.com/@ninjudd/passwords-are-obsolete-9ed56d483eb
 .. _psa-passwordless: https://github.com/omab/psa-passwordless
+.. _SESSION_COOKIE_AGE: https://docs.djangoproject.com/en/1.7/ref/settings/#std:setting-SESSION_COOKIE_AGE

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git



More information about the Python-modules-commits mailing list