summaryrefslogtreecommitdiffstats
path: root/module/plugins/accounts/NoPremiumPl.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/accounts/NoPremiumPl.py')
-rw-r--r--module/plugins/accounts/NoPremiumPl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/accounts/NoPremiumPl.py b/module/plugins/accounts/NoPremiumPl.py
index dfd10c6f7..e9dad7647 100644
--- a/module/plugins/accounts/NoPremiumPl.py
+++ b/module/plugins/accounts/NoPremiumPl.py
@@ -62,10 +62,10 @@ class NoPremiumPl(Account):
try:
response = json_loads(self.run_auth_query())
except Exception:
- self.fail()
+ self.login_fail()
if "errno" in response.keys():
- self.fail()
+ self.login_fail()
data['usr'] = self._usr
data['pwd'] = self._pwd