server/sources/native.py
branchstable
changeset 6019 373a313ee9ec
parent 5982 30985571dbc9
parent 6018 f4d1d5d9ccbb
child 6128 fbb8398f80dc
--- a/server/sources/native.py	Tue Jul 27 09:40:09 2010 +0200
+++ b/server/sources/native.py	Tue Jul 27 12:36:16 2010 +0200
@@ -1449,7 +1449,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: