From dcb1894e0c708df0677187355c6743c08ac44c26 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Tue, 31 May 2011 20:36:19 +0200 Subject: fixed positional captchas + availbillity over thrift --- module/remote/thriftbackend/Handler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/remote/thriftbackend/Handler.py') 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) -- cgit v1.2.3