refactor: replace next-auth with better-auth core and client

This commit is contained in:
old4ever committed 2026-04-06 22:41:11 -04:00
1 parent febc57b240
commit 08a894577b
4 files changed
+31 -33

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
import { auth } from "@/auth";
import { toNextJsHandler } from "better-auth/next-js";
export const { GET, POST } = toNextJsHandler(auth);
-2
View File
@@ -1,2 +0,0 @@
import { handlers } from "@/auth";
export const { GET, POST } = handlers;