Commit be2b1b5d authored by 's avatar

Finalized fix for auth user

parent 6bd0a913
......@@ -84,7 +84,7 @@
##############################################################################
"""DTML Method objects."""
__version__='$Revision: 1.39 $'[11:-2]
__version__='$Revision: 1.40 $'[11:-2]
from Globals import HTML, HTMLFile, MessageDialog
from string import join,split,strip,rfind,atoi,lower
......@@ -144,9 +144,8 @@ class DTMLMethod(cDocument, HTML, Acquisition.Implicit, RoleManager,
kw['document_title']=self.title
# Verify the authenticated user object.
auth_user=REQUEST.get('AUTHENTICATED_USER', None)
if auth_user is not None:
verify_watermark(auth_user)
if REQUEST.has_key('AUTHENTICATED_USER'):
verify_watermark(REQUEST['AUTHENTICATED_USER'])
if client is None:
# 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