server/sources/native.py
brancholdstable
changeset 6018 f4d1d5d9ccbb
parent 5975 5120d97e2f7e
child 6019 373a313ee9ec
--- a/server/sources/native.py	Mon Jul 19 15:36:16 2010 +0200
+++ b/server/sources/native.py	Tue Jul 27 12:36:03 2010 +0200
@@ -1397,7 +1397,7 @@
         two queries are needed since passwords are stored crypted, so we have
         to fetch the salt first
         """
-        args = {'login': login, 'pwd' : password}
+        args = {'login': login, 'pwd' : None}
         if password is not None:
             rset = self.source.syntax_tree_search(session, self._passwd_rqlst, args)
             try: