[Zope-CVS] CVS: Products/PluggableAuthService - PluggableAuthService.py:1.6

Lennart Regebro regebro at nuxeo.com
Mon Aug 30 09:23:11 EDT 2004


Update of /cvs-repository/Products/PluggableAuthService
In directory cvs.zope.org:/tmp/cvs-serv12030

Modified Files:
	PluggableAuthService.py 
Log Message:
Adding the error logs exposed another bug: All authenticateCredentials() returned a single None when they could not authenticate, although all calls expected a tuple.


=== Products/PluggableAuthService/PluggableAuthService.py 1.5 => 1.6 ===
--- Products/PluggableAuthService/PluggableAuthService.py:1.5	Mon Aug 30 09:16:06 2004
+++ Products/PluggableAuthService/PluggableAuthService.py	Mon Aug 30 09:22:41 2004
@@ -142,7 +142,7 @@
                 if eu.authenticate( password, {} ):
                     return (eu_name, None)
 
-        return None
+        return (None, None)
 
 InitializeClass( EmergencyUserAuthenticator )
 



More information about the Zope-CVS mailing list