Closed iceshoesss closed 8 months ago
req.type = 7
req.account = userid
# req.password = password
req.password = hmac.new(b"lailai", password.encode(), hashlib.sha256).hexdigest()
req.gen_access_token = True
I translated password format like thishmac.new(b"lailai", password.encode(), hashlib.sha256).hexdigest()
error 1002 occurred
Where can I get what the error mean?
req.type = 7 req.account = userid # req.password = password req.password = hmac.new(b"lailai", password.encode(), hashlib.sha256).hexdigest() req.gen_access_token = True
I translated password format like this
hmac.new(b"lailai", password.encode(), hashlib.sha256).hexdigest()
error 1002 occurred
Where can I get what the error mean?
commented out req.gen_access_token = True
it works! though I don't know how it works!
I give endpoint a value directly like this to login in CN server
And write login func like this:
Received error 1003
What does it mean? and how to login crorrectly? Thank you for the repository first! And how to deal with the error?