From 4e732b6367c738b099483f679c8121c1dfbc2099 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Sun, 28 Jul 2019 23:00:54 -0400 Subject: [PATCH] Made votes anonymous. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e1bd309..49adcbb 100644 --- a/index.js +++ b/index.js @@ -181,7 +181,7 @@ app.get('/api/voteOnSponsorTime', function (req, res) { } //hash the userID - userID = getHashedUserID(userID); + userID = getHashedUserID(userID + UUID); //x-forwarded-for if this server is behind a proxy let ip = req.headers['x-forwarded-for'] || req.connection.remoteAddress;