From bd7a7b31567d5050c1da946c0337966bea54499f Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 6 May 2011 14:31:32 +0000 Subject: [PATCH] [session] do not clean the after_url session attribute The attribute is still used by the AccessError exceptions to store the continuation URL when redirecting to the login page. --- authentic/sessions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentic/sessions.py b/authentic/sessions.py index 78a4533..4fd31e1 100644 --- a/authentic/sessions.py +++ b/authentic/sessions.py @@ -86,7 +86,7 @@ class BasicSession(Session, CaptchaSession, StorableObject): def set_service(self, value): self._service = value - _not_cleaned = ('_service') + _not_cleaned = ('_service','after_url') _to_remove = ('login_tokens') def clean_data(self):