Compare commits

...

3 Commits

Author SHA1 Message Date
Alex Corn
15079621d2 3.41.8 2020-10-03 04:54:58 -04:00
Alex Corn
d91c600eae Merge pull request #258 from theanht1/master
Fix parentalUnlock
2020-10-02 02:17:35 -04:00
Anh Mai
0f98403c16 feat: Add sessionid to form of parentalUnlock 2020-09-30 17:43:00 +07:00
2 changed files with 4 additions and 2 deletions

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) {

View File

@@ -1,6 +1,6 @@
{
"name": "steamcommunity",
"version": "3.41.7",
"version": "3.41.8",
"description": "Provides an interface for logging into and interacting with the Steam Community website",
"keywords": [
"steam",