From f7403e4203c089abeb80e4e8e0f7e7abd0a05db1 Mon Sep 17 00:00:00 2001 From: counter Date: Mon, 16 Jan 2023 21:02:46 -0800 Subject: [PATCH] initializing user --- api.js | 1 + 1 file changed, 1 insertion(+) diff --git a/api.js b/api.js index 8c925c4..7ecf076 100644 --- a/api.js +++ b/api.js @@ -169,6 +169,7 @@ async function set_up_api_server(app) { const [user, created] = await Users.findOrCreate({ where: { 'email': email } }); if(created){ user.path = makeRandomPath(20); + user.injectionCorrelationAPIKey = makeRandomPath(20); user.save(); } req.session.email = user.email;