[Zope-CVS] CVS: Products/FileCacheManager - FileCache.py:1.9
Jens Vagelpohl
jens at dataflake.org
Sun Oct 31 12:59:29 EST 2004
Update of /cvs-repository/Products/FileCacheManager
In directory cvs.zope.org:/tmp/cvs-serv21339
Modified Files:
FileCache.py
Log Message:
- better way to grab user :)
=== Products/FileCacheManager/FileCache.py 1.8 => 1.9 ===
--- Products/FileCacheManager/FileCache.py:1.8 Sat Oct 30 21:59:09 2004
+++ Products/FileCacheManager/FileCache.py Sun Oct 31 12:59:29 2004
@@ -174,7 +174,7 @@
request = ob.REQUEST
response = request.RESPONSE
- u = request.get('AUTHENTICATED_USER', None)
+ u = getSecurityManager().getUser()
if u is not None:
if (u.getUserName() != 'Anonymous User' and
self._http_caching_anonymous_only):
More information about the Zope-CVS
mailing list