Merge pull request #258 from theanht1/master

Fix parentalUnlock
This commit is contained in:
Alex Corn 2020-10-02 02:17:35 -04:00 committed by GitHub
commit d91c600eae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -323,11 +323,13 @@ function generateSessionID() {
SteamCommunity.prototype.parentalUnlock = function(pin, callback) {
var self = this;
var sessionID = self.getSessionID();
this.httpRequestPost("https://steamcommunity.com/parental/ajaxunlock", {
"json": true,
"form": {
"pin": pin
"pin": pin,
"sessionid": sessionID
}
}, function(err, response, body) {
if(!callback) {