MCPcopy
hub / github.com/pyload/pyload / signin

Method signin

module/plugins/accounts/RehostTo.py:59–67  ·  view source on GitHub ↗
(self, user, password, data)

Source from the content-addressed store, hash-verified

57 'session': session}
58
59 def signin(self, user, password, data):
60 html = self.load("https://rehost.to/api.php",
61 get={'cmd': "login",
62 'user': user,
63 'pass': password})
64
65 if "ERROR" in html:
66 self.log_debug(html)
67 self.fail_login()

Callers

nothing calls this directly

Calls 3

log_debugMethod · 0.80
fail_loginMethod · 0.80
loadMethod · 0.45

Tested by

no test coverage detected