feat(auth): harden session management and security
- Implement server-side session revocation on logout - Add IP extraction utility and admin setup error handling - Improve error codes and response consistency for auth endpoints - Refine landing page redirect logic to handle transient DB outages - Update deployment documentation and configuration defaults
This commit is contained in:
1 parent
935f12a1e9
commit
89e4d68690
81 files changed
+11530
-6916
No files matched your search
@@ -1,5 +1,7 @@
|
||||
// This is your Prisma schema file,
|
||||
// learn more about it in the docs: https://pris.ly/d/prisma-schema
|
||||
// REFERENCE SCHEMA ONLY — NOT EXECUTED BY PRISMA CLI AT RUNTIME.
|
||||
// Canonical PostgreSQL runtime DDL is owned by `core/Database/database.ts` (Port 3000 via `pg`)
|
||||
// and mirrored 1:1 in `server/index.js` (Port 4000 standalone container).
|
||||
// Keep all 5 models below strictly synchronized with `core/Database/database.ts` (verified by tests).
|
||||
|
||||
generator client {
|
||||
provider = "prisma-client-js"
|
||||
|
||||
Reference in new issue
Block a user