diff options
| author | Dax Raad <[email protected]> | 2026-01-12 22:33:57 -0500 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2026-01-12 22:33:57 -0500 |
| commit | eaa76dad0cd7be52a969ceaa2a6baa338cc9929d (patch) | |
| tree | 801bcf930ddd967a1c4a0f4f1ad8fbce2bd8b271 /packages/console/app/src/context/auth.session.ts | |
| parent | 66f9bdab32b21110c0dd9ce0aaa8d928aea8eba2 (diff) | |
| download | opencode-eaa76dad0cd7be52a969ceaa2a6baa338cc9929d.tar.gz opencode-eaa76dad0cd7be52a969ceaa2a6baa338cc9929d.zip | |
get rid of extra file
Diffstat (limited to 'packages/console/app/src/context/auth.session.ts')
| -rw-r--r-- | packages/console/app/src/context/auth.session.ts | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/packages/console/app/src/context/auth.session.ts b/packages/console/app/src/context/auth.session.ts index 726b6c834..e69de29bb 100644 --- a/packages/console/app/src/context/auth.session.ts +++ b/packages/console/app/src/context/auth.session.ts @@ -1,24 +0,0 @@ -import { useSession } from "@solidjs/start/http" - -export interface AuthSession { - account?: Record< - string, - { - id: string - email: string - } - > - current?: string -} - -export function useAuthSession() { - return useSession<AuthSession>({ - password: "0".repeat(32), - name: "auth", - maxAge: 60 * 60 * 24 * 365, - cookie: { - secure: false, - httpOnly: true, - }, - }) -} |
