[Zope3-checkins]
SVN: Zope3/branches/srichter-blow-services/src/zope/app/pluggableauth/__init__.py
Removed queryView call.
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Feb 4 12:54:16 EST 2005
Log message for revision 29039:
Removed queryView call.
Changed:
U Zope3/branches/srichter-blow-services/src/zope/app/pluggableauth/__init__.py
-=-
Modified: Zope3/branches/srichter-blow-services/src/zope/app/pluggableauth/__init__.py
===================================================================
--- Zope3/branches/srichter-blow-services/src/zope/app/pluggableauth/__init__.py 2005-02-04 17:35:18 UTC (rev 29038)
+++ Zope3/branches/srichter-blow-services/src/zope/app/pluggableauth/__init__.py 2005-02-04 17:54:16 UTC (rev 29039)
@@ -79,7 +79,7 @@
def authenticate(self, request):
""" See `IAuthentication`. """
for ps_key, ps in self.items():
- loginView = zapi.queryView(ps, "login", request)
+ loginView = zapi.queryMultiAdapter((ps, request), name="login")
if loginView is not None:
principal = loginView.authenticate()
if principal is not None:
More information about the Zope3-Checkins
mailing list