mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-01-19 18:42:22 +08:00
Use random hex value instead of current time for deviceid
This commit is contained in:
parent
9175a44828
commit
ff1c3279c8
@ -141,7 +141,7 @@ SteamCommunity.prototype.respondToConfirmation = function(confID, confKey, time,
|
||||
|
||||
function request(community, url, key, time, tag, params, json, callback) {
|
||||
params = params || {};
|
||||
params.p = "android:" + Date.now();
|
||||
params.p = "android:" + require('crypto').randomBytes(16).toString('hex');
|
||||
params.a = community.steamID.getSteamID64();
|
||||
params.k = key;
|
||||
params.t = time;
|
||||
|
Loading…
Reference in New Issue
Block a user