Use transactions throughout the code
[cascardo/ipsilon.git] / ipsilon / login / authpam.py
index f322e14..fca44ba 100755 (executable)
@@ -49,7 +49,7 @@ class Pam(LoginFormBase):
         if username and password:
             user = self._authenticate(username, password)
             if user:
-                return self.lm.auth_successful(user, 'password')
+                return self.lm.auth_successful(self.trans, user, 'password')
             else:
                 error = "Authentication failed"
                 cherrypy.log.error(error)