[ZPT] CVS: Products/PageTemplates - PageTemplateFile.py:1.3.2.1

Evan Simpson evan@zope.com
Thu, 11 Oct 2001 12:57:25 -0400


Update of /cvs-repository/Products/PageTemplates
In directory cvs.zope.org:/tmp/cvs-serv23229

Modified Files:
      Tag: zpt-1_4_0
	PageTemplateFile.py 
Log Message:
'user' was missing.


=== Products/PageTemplates/PageTemplateFile.py 1.3 => 1.3.2.1 ===
         # Execute the template in a new security context.
         security=getSecurityManager()
+        bound_names['user'] = security.getUser()
         security.addContext(self)
         try:
             return self.pt_render(extra_context=bound_names)