Commit be2b1b5d authored by 's avatar

Finalized fix for auth user

parent 6bd0a913
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
############################################################################## ##############################################################################
"""DTML Method objects.""" """DTML Method objects."""
__version__='$Revision: 1.39 $'[11:-2] __version__='$Revision: 1.40 $'[11:-2]
from Globals import HTML, HTMLFile, MessageDialog from Globals import HTML, HTMLFile, MessageDialog
from string import join,split,strip,rfind,atoi,lower from string import join,split,strip,rfind,atoi,lower
...@@ -144,9 +144,8 @@ class DTMLMethod(cDocument, HTML, Acquisition.Implicit, RoleManager, ...@@ -144,9 +144,8 @@ class DTMLMethod(cDocument, HTML, Acquisition.Implicit, RoleManager,
kw['document_title']=self.title kw['document_title']=self.title
# Verify the authenticated user object. # Verify the authenticated user object.
auth_user=REQUEST.get('AUTHENTICATED_USER', None) if REQUEST.has_key('AUTHENTICATED_USER'):
if auth_user is not None: verify_watermark(REQUEST['AUTHENTICATED_USER'])
verify_watermark(auth_user)
if client is None: if client is None:
# Called as subtemplate, so don't need error propigation! # Called as subtemplate, so don't need error propigation!
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment