# HG changeset patch # User Julien Cristau # Date 1405440451 -7200 # Node ID 0a5890491ab311b932b6e137755090bf253d5db1 # Parent 4db650d79e32ad271260556b173a846fa0bd3a06 [web/auth] The auth retriever's authenticated() callback takes a session, not a cnx We don't have a cnx at that point. diff -r 4db650d79e32 -r 0a5890491ab3 web/views/authentication.py --- 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.