summaryrefslogtreecommitdiffstats
path: root/module/remote/thriftbackend/Handler.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/remote/thriftbackend/Handler.py')
-rw-r--r--module/remote/thriftbackend/Handler.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/remote/thriftbackend/Handler.py b/module/remote/thriftbackend/Handler.py
index 9a7c1489e..e45cdfcaa 100644
--- a/module/remote/thriftbackend/Handler.py
+++ b/module/remote/thriftbackend/Handler.py
@@ -445,8 +445,8 @@ class Handler(Iface):
Parameters:
- exclusive
"""
- tid, data, type = self.serverMethods.get_captcha_task(exclusive)
- t = CaptchaTask(int(tid), standard_b64encode(data), type)
+ tid, data, type, result = self.serverMethods.get_captcha_task(exclusive)
+ t = CaptchaTask(int(tid), standard_b64encode(data), type, result)
return t
def getCaptchaTaskStatus(self, tid):
@@ -536,7 +536,7 @@ class Handler(Iface):
"""
return self.backend.checkAuth(username, password, remoteip)
- def getUserData(self):
+ def getUserData(self, username, password):
return self.serverMethods.checkAuth(username, password)