summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts
diff options
context:
space:
mode:
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)