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

+3 -3
View File
@@ -1,4 +1,4 @@
import { Button } from '@/components/ui/Button';
import { buttonClassNames } from '@/components/ui/Button';
import Link from 'next/link';
import React from 'react';
@@ -8,8 +8,8 @@ export const LandingAbout: React.FC = () => (
<h2 className="mb-1 text-[20px] font-medium text-[var(--text)]">Ready to simplify your data workflow?</h2>
<p className="text-[13px] text-[var(--text-muted)]">Start with the SDK guide and make the workspace your own.</p>
</div>
<Link href="#sdk">
<Button variant="primary" size="sm">View Python SDK</Button>
<Link href="/#sdk" className={buttonClassNames({ variant: 'primary', size: 'sm' })}>
View Python SDK
</Link>
</section>
);