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
@@ -1,5 +1,5 @@
|
||||
import { ActivityPreview } from '@/components/ui/ActivityPreview';
|
||||
import { Button } from '@/components/ui/Button';
|
||||
import { buttonClassNames } from '@/components/ui/Button';
|
||||
import Link from 'next/link';
|
||||
import React from 'react';
|
||||
|
||||
@@ -17,11 +17,11 @@ export const Hero: React.FC = () => (
|
||||
Keep activity organized, review the records that matter, and export them when you need them.
|
||||
</p>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<Link href="#features">
|
||||
<Button variant="primary" size="sm">Explore features</Button>
|
||||
<Link href="/#features" className={buttonClassNames({ variant: 'primary', size: 'sm' })}>
|
||||
Explore features
|
||||
</Link>
|
||||
<Link href="#sdk">
|
||||
<Button variant="secondary" size="sm">Python SDK</Button>
|
||||
<Link href="/#sdk" className={buttonClassNames({ variant: 'secondary', size: 'sm' })}>
|
||||
Python SDK
|
||||
</Link>
|
||||
</div>
|
||||
<ActivityPreview />
|
||||
|
||||
Reference in new issue
Block a user