[Zope-CVS] CVS: Products/PluggableAuthService/plugins - ZODBUserManager.py:1.6.4.3

Jens Vagelpohl jens at dataflake.org
Sat Nov 6 06:48:31 EST 2004


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

Modified Files:
      Tag: jens-implement_caching_branch
	ZODBUserManager.py 
Log Message:
- merging small changes from HEAD


=== Products/PluggableAuthService/plugins/ZODBUserManager.py 1.6.4.2 => 1.6.4.3 ===
--- Products/PluggableAuthService/plugins/ZODBUserManager.py:1.6.4.2	Tue Oct 26 10:20:50 2004
+++ Products/PluggableAuthService/plugins/ZODBUserManager.py	Sat Nov  6 06:48:31 2004
@@ -95,6 +95,10 @@
             return None
 
         userid = self._login_to_userid.get( login, login )
+
+        if userid is None:
+            return None
+
         reference = self._user_passwords[ userid ]
         if AuthEncoding.is_encrypted( reference ):
             if AuthEncoding.pw_validate( reference, password ):



More information about the Zope-CVS mailing list