diff --git a/src/routes/client.js b/src/routes/client.js index c1103e5..c2e3085 100644 --- a/src/routes/client.js +++ b/src/routes/client.js @@ -178,7 +178,7 @@ function checkUserExists(email) { }); } -router.get('/generate-token', (req, res) => { +router.get('/generate-token', validateSession, (req, res) => { const payload = { name: "werify_Kit" };