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:
1 parent
34519c07df
commit
177ed4a844
78 files changed
+6748
-3157
No files matched your search
@@ -12,9 +12,9 @@ export const Footer: React.FC<FooterProps> = ({ isAdmin = false }) => {
|
||||
<footer className="shrink-0 min-h-9 bg-[var(--bg-activity)] border-t border-[var(--border)] px-4 sm:px-6 py-2 flex flex-wrap items-center justify-between gap-2 text-[11px] text-[var(--text-dim)] select-none">
|
||||
<span>DataStack</span>
|
||||
<nav aria-label="Footer navigation" className="flex items-center gap-5">
|
||||
<Link href="#features" className="hover:text-[var(--text-muted)]">Features</Link>
|
||||
<Link href="#sdk" className="hover:text-[var(--text-muted)]">SDK</Link>
|
||||
<Link href="#about" className="hover:text-[var(--text-muted)]">About</Link>
|
||||
<Link href="/#features" className="hover:text-[var(--text-muted)]">Features</Link>
|
||||
<Link href="/#sdk" className="hover:text-[var(--text-muted)]">SDK</Link>
|
||||
<Link href="/#about" className="hover:text-[var(--text-muted)]">About</Link>
|
||||
</nav>
|
||||
</footer>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user