fix: security hardening — SameSite=Strict, Secure cookie flag, password min length, generic registration error, auth rate limiting

This commit is contained in:
2026-05-04 21:38:23 +02:00
parent 78e1f4ef72
commit 874c406d4a
4 changed files with 92 additions and 15 deletions

View File

@@ -1,6 +1,7 @@
DATABASE_URL=sqlite:./dev.db
BASE_URL=http://localhost:3000
PORT=3000
SECURE_COOKIES=false
JWT_SECRET=
JWT_TTL_SECONDS=
ALLOW_REGISTRATION=true