summaryrefslogtreecommitdiffstats
path: root/ipsilon/login/authform.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipsilon/login/authform.py')
-rwxr-xr-xipsilon/login/authform.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipsilon/login/authform.py b/ipsilon/login/authform.py
index d372eff..9c20cf5 100755
--- a/ipsilon/login/authform.py
+++ b/ipsilon/login/authform.py
@@ -33,14 +33,14 @@ class Form(LoginFormBase):
us.remote_login()
user = us.get_user()
if not user.is_anonymous:
- return self.lm.auth_successful(user.name, 'password')
+ return self.lm.auth_successful(self.trans, user.name, 'password')
else:
try:
error = cherrypy.request.headers['EXTERNAL_AUTH_ERROR']
except KeyError:
error = "Unknown error using external authentication"
cherrypy.log.error("Error: %s" % error)
- return self.lm.auth_failed()
+ return self.lm.auth_failed(self.trans)
class LoginManager(LoginManagerBase):