From 160e299631c5a1741e93cfb0681c9218b5898d34 Mon Sep 17 00:00:00 2001 From: Matt Strapp Date: Thu, 10 Feb 2022 14:37:15 -0600 Subject: Add CSRF cookie and make it somewhat secure Signed-off-by: Matt Strapp --- package.json | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package.json') diff --git a/package.json b/package.json index c47b57d..50cc603 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "dependencies": { + "cookie-parser": "^1.4.6", "csurf": "^1.11.0", "ejs": "^3.1.6", "express": "^4.17.2", @@ -9,6 +10,7 @@ "helmet": "^5.0.2" }, "devDependencies": { + "@types/cookie-parser": "^1.4.2", "@types/csurf": "^1.11.2", "@types/express": "^4.17.13", "@types/express-session": "^1.17.4", -- cgit v1.2.3