summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
authorGravatar Jeix <devnull@localhost> 2010-11-25 14:33:15 +0100
committerGravatar Jeix <devnull@localhost> 2010-11-25 14:33:15 +0100
commit0e6a798342985f1e4074896e45363c3f5acceacc (patch)
tree9a8aca09fe18c958f221cda480222fe26709410b /module/plugins/accounts
parentgui: reverse tab order (diff)
downloadpyload-0e6a798342985f1e4074896e45363c3f5acceacc.tar.xz
depositfiles, fileserve free fixes
Diffstat (limited to 'module/plugins/accounts')
-rw-r--r--module/plugins/accounts/FileserveCom.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/module/plugins/accounts/FileserveCom.py b/module/plugins/accounts/FileserveCom.py
index 793d240cc..7754de253 100644
--- a/module/plugins/accounts/FileserveCom.py
+++ b/module/plugins/accounts/FileserveCom.py
@@ -44,8 +44,12 @@ class FileserveCom(Account):
def login(self, user, data, req):
- req.load("http://fileserve.com/login.php",
+ html = req.load("http://fileserve.com/login.php",
post={"loginUserName": user, "loginUserPassword": data["password"],
"autoLogin": "on", "loginFormSubmit": "Login"}, cookies=True)
+
+ if r'Please Enter a valid user name.' in html:
+ self.wrongPassword()
+
req.load("http://fileserve.com/dashboard.php", cookies=True)