Skip to content

Commit

Permalink
again lucia
Browse files Browse the repository at this point in the history
  • Loading branch information
LexSwed committed Aug 20, 2024
1 parent a7a382b commit f537a5b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/web/src/server/auth/lucia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { env } from "~/server/env";

export const useLucia = () => {
const db = useDb();
// @ts-expect-error lucia adapter
const adapter = new DrizzleSQLiteAdapter(db, sessionTable, userTable);
const lucia = new Lucia(adapter, {
sessionExpiresIn: new TimeSpan(30, "d"),
Expand Down

0 comments on commit f537a5b

Please sign in to comment.