~zope-pas-maintainer/zope-pas/trunk

Viewing all changes in revision 129.

  • Committer: mauritsvanrees
  • Date: 2013-01-22 13:15:13 UTC
  • Revision ID: svn-v4:62d5b8a3-27da-0310-9561-8e5933582275:Products.PluggableAuthService/trunk:129079
Do not fail in getCSRFToken when request has no session.

This can happen in tests.
At least, I see it when logged in to Testing.ZopeTestCase.utils.startZServer
and trying to visit acl_users/source_users in the ZMI in a Plone Site.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: