refactor(auth): standardize session management and security

- Centralize secret retrieval using `getAdminSessionSecret`
- Replace manual session parsing with `verifyRequestAdminSession` utility
- Tighten API validation and improve security headers handling
- Enforce environment variable security for production deployments
This commit is contained in:
Team Dark Devil committed 2026-11-18 05:18:55 +06:00
1 parent 34519c07df
commit 177ed4a844
78 files changed
+6748 -3157

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" width="512" height="512">
<rect width="512" height="512" fill="#0a0a0b" />
<rect x="24" y="24" width="464" height="464" fill="#111113" stroke="#2e2e33" stroke-width="8" />
<rect x="112" y="112" width="288" height="288" fill="#a3e635" />
<rect x="192" y="192" width="128" height="128" fill="#0a0a0b" />
<rect x="232" y="232" width="48" height="48" fill="#e8e8ea" />
</svg>

After

Width:  |  Height:  |  Size: 444 B