web/views/sessions.py
changeset 6848 f87cd875c6db
parent 6791 fe58b234f9c2
child 7428 5338d895b891
--- a/web/views/sessions.py	Wed Jan 19 12:47:04 2011 +0100
+++ b/web/views/sessions.py	Wed Jan 19 12:47:06 2011 +0100
@@ -69,8 +69,8 @@
         raise :exc:`cubicweb.AuthenticationError` if authentication failed
         (no authentication info found or wrong user/password)
         """
-        cnx, login, authinfo = self.authmanager.authenticate(req)
-        session = DBAPISession(cnx, login, authinfo)
+        cnx, login = self.authmanager.authenticate(req)
+        session = DBAPISession(cnx, login)
         self._sessions[session.sessionid] = session
         # associate the connection to the current request
         req.set_session(session)