From 20aed86123d77c283d621da25760e0b47392cabc Mon Sep 17 00:00:00 2001 From: Chris Kruining Date: Mon, 2 Jun 2025 16:32:01 +0200 Subject: [PATCH] no clue why the auth started to fail... --- src/auth.ts | 5 ++++- src/features/shell/top.tsx | 7 +++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/auth.ts b/src/auth.ts index f733153..ce90bda 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -7,7 +7,10 @@ export const auth = betterAuth({ appName: "Streamarr", basePath: "/api/auth", logger: { - level: "info", + level: "debug", + log(level, message, ...args) { + console.log(level, message, {args}); + }, }, user: { additionalFields: { diff --git a/src/features/shell/top.tsx b/src/features/shell/top.tsx index 971b223..c4f7af5 100644 --- a/src/features/shell/top.tsx +++ b/src/features/shell/top.tsx @@ -1,9 +1,8 @@ -import { Component, createEffect, Show } from "solid-js"; -import { signIn, signOut } from "~/auth"; -import { hash } from "~/utilities"; +import { Component, Show } from "solid-js"; +import { signIn, signOut, client } from "~/auth"; import { Avatar, Profile, User } from "../user"; -import css from "./top.module.css"; import { ColorSchemePicker } from "../theme"; +import css from "./top.module.css"; interface TopProps { user: User | undefined;