web/views/authentication.py
changeset 8669 62213a34726e
parent 8544 3d049071957e
child 8673 8ea63a2cc2cc
--- a/web/views/authentication.py	Thu Jan 10 23:05:45 2013 +0100
+++ b/web/views/authentication.py	Mon Jan 21 18:01:25 2013 +0100
@@ -169,8 +169,7 @@
         raise AuthenticationError()
 
     def _authenticate(self, login, authinfo):
-        cnxprops = ConnectionProperties(self.vreg.config.repo_method,
-                                        close=False, log=self.log_queries)
+        cnxprops = ConnectionProperties(close=False, log=self.log_queries)
         cnx = repo_connect(self.repo, login, cnxprops=cnxprops, **authinfo)
         # decorate connection
         cnx.vreg = self.vreg