aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert <albert@semmle.com>2019-02-11 09:05:46 +0000
committerAlbert <albert@semmle.com>2019-02-11 09:05:46 +0000
commit9e3a52f14a8e80441520933a7b654c86ed730da3 (patch)
treeb43a1dbf293e0e982a914d0a2d316c44205da998
parent90473eeb0511c466714a1e288d569931d588b3f0 (diff)
downloadperl-software-in-gnu-guix-9e3a52f14a8e80441520933a7b654c86ed730da3.tar
perl-software-in-gnu-guix-9e3a52f14a8e80441520933a7b654c86ed730da3.tar.gz
correct typo
-rw-r--r--plugin/multiplex/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/multiplex/index.js b/plugin/multiplex/index.js
index 4a4f3de..f11639b 100644
--- a/plugin/multiplex/index.js
+++ b/plugin/multiplex/index.js
@@ -45,7 +45,7 @@ app.get("/", function(req, res) {
app.get("/token", function(req,res) {
var ts = new Date().getTime();
var rand = new Uint32Array(1);
- window.crypto.getRandomValues(array)
+ window.crypto.getRandomValues(rand)
var secret = ts.toString() + rand.toString();
res.send({secret: secret, socketId: createHash(secret)});
});