[Python-modules-commits] [python-social-auth] 256/322: Clean any pipeline remanents when starting the process. Refs #325

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:13:16 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 93969ed63ac2b7ca5deffda17fc356ffb8b4dd67
Author: Matías Aguirre <matiasaguirre at gmail.com>
Date:   Wed Apr 15 12:48:53 2015 -0300

    Clean any pipeline remanents when starting the process. Refs #325
---
 social/actions.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/social/actions.py b/social/actions.py
index 59a4d6d..4b005cf 100644
--- a/social/actions.py
+++ b/social/actions.py
@@ -4,6 +4,9 @@ from social.utils import sanitize_redirect, user_is_authenticated, \
 
 
 def do_auth(backend, redirect_name='next'):
+    # Clean any partial pipeline data
+    backend.strategy.clean_partial_pipeline()
+
     # Save any defined next value into session
     data = backend.strategy.request_data(merge=False)
 

-- 
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