summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/NetloadIn.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/NetloadIn.py')
-rw-r--r--module/plugins/accounts/NetloadIn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/accounts/NetloadIn.py b/module/plugins/accounts/NetloadIn.py
index 957435b46..4f5b08689 100644
--- a/module/plugins/accounts/NetloadIn.py
+++ b/module/plugins/accounts/NetloadIn.py
@@ -36,7 +36,7 @@ class NetloadIn(Account):
validuntil = time() + int(left.group(1)) * 24 * 60 * 60 + int(left.group(2)) * 60 * 60
return {"validuntil": validuntil, "trafficleft": -1}
- def login(self, user, req):
+ def login(self, user, data,req):
page = req.load("http://netload.in/index.php", None, { "txtuser" : user, "txtpass" : data['password'], "txtcheck" : "login", "txtlogin" : ""}, cookies=True)
if "password or it might be invalid!" in page:
self.wrongPassword()