moksha/middleware/csrf.py | 1 + 1 file changed, 1 insertion(+)
New commits: commit e715ad9e9f704789298e7fbf11bc39124523d5c3 Author: Luke Macken lmacken@redhat.com Date: Tue Mar 17 23:41:35 2009 -0400
Add a simple comment
diff --git a/moksha/middleware/csrf.py b/moksha/middleware/csrf.py index 019f7da..956d306 100644 --- a/moksha/middleware/csrf.py +++ b/moksha/middleware/csrf.py @@ -233,6 +233,7 @@ class CSRFMetadataProvider(object):
app = environ.get('repoze.who.application') if app: + # This occurs during login in some application configurations if isinstance(app, HTTPFound) and environ.get(self.auth_state): log.debug('Got HTTPFound(302) from repoze.who.application') path = []
moksha-commits@lists.fedorahosted.org