diff options
Diffstat (limited to 'module/plugins/accounts/BayfilesCom.py')
-rw-r--r-- | module/plugins/accounts/BayfilesCom.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/plugins/accounts/BayfilesCom.py b/module/plugins/accounts/BayfilesCom.py index b1166b83a..2b6d45a18 100644 --- a/module/plugins/accounts/BayfilesCom.py +++ b/module/plugins/accounts/BayfilesCom.py @@ -28,6 +28,7 @@ class BayfilesCom(Account): return {"premium": bool(response['premium']), "trafficleft": -1, "validuntil": response['expires'] if response['expires'] >= int(time()) else -1} + def login(self, user, data, req): response = json_loads(req.load("http://api.bayfiles.com/v1/account/login/%s/%s" % (user, data['password']))) self.logDebug(response) |