From 33cd9474ab637a13685e21aff89d205ed13d039f Mon Sep 17 00:00:00 2001 From: Pavelas Date: Tue, 4 Oct 2016 10:26:20 +0200 Subject: [PATCH] Delete the profile URL cache after log in. --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index 41363bd..89471cc 100644 --- a/index.js +++ b/index.js @@ -63,6 +63,9 @@ SteamCommunity.prototype.login = function(details, callback) { var self = this; + // Delete the cache + delete self._profileURL; + // headers required to convince steam that we're logging in from a mobile device so that we can get the oAuth data var mobileHeaders = { "X-Requested-With": "com.valvesoftware.android.steam.community",