no clue why the auth started to fail...
This commit is contained in:
parent
6451b8cfb4
commit
20aed86123
2 changed files with 7 additions and 5 deletions
|
@ -7,7 +7,10 @@ export const auth = betterAuth({
|
||||||
appName: "Streamarr",
|
appName: "Streamarr",
|
||||||
basePath: "/api/auth",
|
basePath: "/api/auth",
|
||||||
logger: {
|
logger: {
|
||||||
level: "info",
|
level: "debug",
|
||||||
|
log(level, message, ...args) {
|
||||||
|
console.log(level, message, {args});
|
||||||
|
},
|
||||||
},
|
},
|
||||||
user: {
|
user: {
|
||||||
additionalFields: {
|
additionalFields: {
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
import { Component, createEffect, Show } from "solid-js";
|
import { Component, Show } from "solid-js";
|
||||||
import { signIn, signOut } from "~/auth";
|
import { signIn, signOut, client } from "~/auth";
|
||||||
import { hash } from "~/utilities";
|
|
||||||
import { Avatar, Profile, User } from "../user";
|
import { Avatar, Profile, User } from "../user";
|
||||||
import css from "./top.module.css";
|
|
||||||
import { ColorSchemePicker } from "../theme";
|
import { ColorSchemePicker } from "../theme";
|
||||||
|
import css from "./top.module.css";
|
||||||
|
|
||||||
interface TopProps {
|
interface TopProps {
|
||||||
user: User | undefined;
|
user: User | undefined;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue