feat(auth): cookies helpers and CSRF middleware

This commit is contained in:
2026-05-20 22:51:42 +02:00
parent 1ba2cab2e8
commit 0b62aad7d8
4 changed files with 92 additions and 0 deletions

View File

@@ -19,6 +19,7 @@
"@flashcard/shared": "*",
"bcryptjs": "^3.0.3",
"better-sqlite3": "^11.0.0",
"cookie-parser": "^1.4.7",
"drizzle-orm": "^0.33.0",
"express": "^4.19.0",
"multer": "^1.4.5-lts.1",
@@ -29,6 +30,7 @@
"devDependencies": {
"@types/bcryptjs": "^2.4.6",
"@types/better-sqlite3": "^7.6.0",
"@types/cookie-parser": "^1.4.10",
"@types/express": "^4.17.0",
"@types/multer": "^1.4.0",
"@types/node": "^20.0.0",