summaryrefslogtreecommitdiffstats
path: root/module/remote/thriftbackend/Handler.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-31 20:36:19 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-31 20:36:19 +0200
commitdcb1894e0c708df0677187355c6743c08ac44c26 (patch)
tree9edd4c4eccde099a95edc8d7436dce8b92e3aba0 /module/remote/thriftbackend/Handler.py
parentShareLinksBiz decrypter (diff)
downloadpyload-dcb1894e0c708df0677187355c6743c08ac44c26.tar.xz
fixed positional captchas + availbillity over thrift
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)