equal
deleted
inserted
replaced
125 retreiver_.authenticated(req, cnx, retreiver) |
125 retreiver_.authenticated(req, cnx, retreiver) |
126 return cnx |
126 return cnx |
127 |
127 |
128 def _authenticate(self, req, login, authinfo): |
128 def _authenticate(self, req, login, authinfo): |
129 # remove possibly cached cursor coming from closed connection |
129 # remove possibly cached cursor coming from closed connection |
130 clear_cache(req, 'cursor') |
|
131 cnxprops = ConnectionProperties(self.vreg.config.repo_method, |
130 cnxprops = ConnectionProperties(self.vreg.config.repo_method, |
132 close=False, log=self.log_queries) |
131 close=False, log=self.log_queries) |
133 try: |
132 try: |
134 cnx = repo_connect(self.repo, login, cnxprops=cnxprops, **authinfo) |
133 cnx = repo_connect(self.repo, login, cnxprops=cnxprops, **authinfo) |
135 except AuthenticationError: |
134 except AuthenticationError: |