A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.
fix(deps): update dependency @auth/core to ^0.32.0 (#603)
homarr-renovate[bot]dc3b00736eab
diff --git a/apps/nextjs/src/components/user-avatar-menu.tsx b/apps/nextjs/src/components/user-avatar-menu.tsxindex 0cd5e0726..a9f47d9ab 100644--- a/apps/nextjs/src/components/user-avatar-menu.tsx+++ b/apps/nextjs/src/components/user-avatar-menu.tsx@@ -72,7 +72,7 @@ export const UserAvatarMenu = ({ children }: UserAvatarMenuProps) => {<><Menu.Itemcomponent={Link}- href={`/manage/users/${session.data?.user.id}`}+ href={`/manage/users/${session.data?.user?.id}`}leftSection={<IconSettings size="1rem" />}>{t("preferences")}diff --git a/packages/auth/index.ts b/packages/auth/index.tsindex eed6a80b9..b8cbc55a1 100644--- a/packages/auth/index.ts+++ b/packages/auth/index.ts@@ -1,12 +1,12 @@-import type { DefaultSession } from "@auth/core/types";+import type { DefaultSession } from "next-auth";import type { GroupPermissionKey } from "@homarr/definitions";import { createConfiguration } from "./configuration";-export type { Session } from "@auth/core/types";+export type { Session } from "next-auth";-declare module "@auth/core/types" {+declare module "next-auth" {interface Session {user: {id: string;diff --git a/packages/auth/package.json b/packages/auth/package.jsonindex 2b52639c6..b8b4794a3 100644--- a/packages/auth/package.json+++ b/packages/auth/package.json@@ -22,7 +22,7 @@},"dependencies": {"@homarr/db": "workspace:^0.1.0",- "@auth/core": "^0.31.0",+ "@auth/core": "^0.32.0","@auth/drizzle-adapter": "^1.2.0","@t3-oss/env-nextjs": "^0.10.1","bcrypt": "^5.1.1",diff --git a/packages/auth/permissions/board-permissions.ts b/packages/auth/permissions/board-permissions.tsindex a3adbe8f6..35bac53ab 100644--- a/packages/auth/permissions/board-permissions.ts+++ b/packages/auth/permissions/board-permissions.ts@@ -1,4 +1,4 @@-import type { Session } from "@auth/core/types";+import type { Session } from "next-auth";export type BoardPermissionsProps = (| {diff --git a/packages/auth/permissions/test/board-permissions.spec.ts b/packages/auth/permissions/test/board-permissions.spec.tsindex 24b180836..05b98a039 100644--- a/packages/auth/permissions/test/board-permissions.spec.ts+++ b/packages/auth/permissions/test/board-permissions.spec.ts@@ -1,4 +1,4 @@-import type { Session } from "@auth/core/types";+import type { Session } from "next-auth";import { describe, expect, test } from "vitest";import { getPermissionsWithChildren } from "@homarr/definitions";diff --git a/packages/auth/session.ts b/packages/auth/session.tsindex 3e893db04..02ef573df 100644--- a/packages/auth/session.ts+++ b/packages/auth/session.ts@@ -1,5 +1,5 @@import { randomUUID } from "crypto";-import type { Session } from "@auth/core/types";+import type { Session } from "next-auth";import type { Database } from "@homarr/db";diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 17c714388..7466bc6b2 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -477,8 +477,8 @@ importers:packages/auth:dependencies:'@auth/core':- specifier: ^0.31.0- version: 0.31.0+ specifier: ^0.32.0+ version: 0.32.0'@auth/drizzle-adapter':specifier: ^1.2.0version: 1.2.0