[web/auth] The auth retriever's authenticated() callback takes a session, not a cnx
We don't have a cnx at that point.
--- a/web/views/authentication.py Fri Jul 11 16:44:42 2014 +0200
+++ b/web/views/authentication.py Tue Jul 15 18:07:31 2014 +0200
@@ -44,7 +44,7 @@
"""
raise NotImplementedError()
- def authenticated(self, retriever, req, cnx, login, authinfo):
+ def authenticated(self, retriever, req, session, login, authinfo):
"""callback when return authentication information have opened a
repository connection successfully. Take care req has no session
attached yet, hence req.execute isn't available.