Browse Source

webauth: fix password encoding for py3

pull/34/head
Rossen Georgiev 9 years ago
parent
commit
d0592f36ed
  1. 2
      steam/webauth.py

2
steam/webauth.py

@ -134,7 +134,7 @@ class WebAuth(object):
data = {
'username' : self.username,
"password": b64encode(self.key.encrypt(self.password, PKCS1v15())),
"password": b64encode(self.key.encrypt(self.password.encode('ascii'), PKCS1v15())),
"emailauth": email_code,
"emailsteamid": str(self.steamid) if email_code else '',
"twofactorcode": twofactor_code,

Loading…
Cancel
Save