summaryrefslogtreecommitdiffhomepage
path: root/packages/console/app/src/context/auth.session.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/console/app/src/context/auth.session.ts')
-rw-r--r--packages/console/app/src/context/auth.session.ts24
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,
- },
- })
-}