Use cookie-parser, updated tokenToUser middleware & set logout endpoint

This commit is contained in:
2022-03-06 10:39:34 +01:00
parent 0ecbde9675
commit 91c81e5cf6
2 changed files with 11 additions and 5 deletions

View File

@@ -20,10 +20,11 @@
"axios": "^0.18.0",
"bcrypt": "^3.0.6",
"body-parser": "~1.18.2",
"cookie-parser": "^1.4.6",
"cross-env": "~5.1.4",
"express": "~4.16.0",
"form-data": "^2.5.1",
"jsonwebtoken": "^8.2.0",
"jsonwebtoken": "^8.5.1",
"km-moviedb": "^0.2.12",
"node-cache": "^4.1.1",
"node-fetch": "^2.6.0",