Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
be2b1b5d
Commit
be2b1b5d
authored
Mar 09, 2000
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finalized fix for auth user
parent
6bd0a913
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
lib/python/OFS/DTMLMethod.py
lib/python/OFS/DTMLMethod.py
+3
-4
No files found.
lib/python/OFS/DTMLMethod.py
View file @
be2b1b5d
...
@@ -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!
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment