get rid of extra file

This commit is contained in:
Dax Raad
2026-01-12 22:33:57 -05:00
parent 66f9bdab32
commit eaa76dad0c
13 changed files with 55 additions and 29 deletions

View File

@@ -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,
},
})
}