mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-03-14 15:00:07 +08:00
Merge pull request #130 from Pavelas/master
Delete the profile URL cache after log in.
This commit is contained in:
commit
eb341314ef
3
index.js
3
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",
|
||||
|
Loading…
Reference in New Issue
Block a user