add auth anonymous plugin

This commit is contained in:
2026-02-24 09:09:08 +01:00
parent dd44f053f9
commit 27d3cd364e
3 changed files with 26 additions and 11 deletions

View File

@@ -1,3 +1,6 @@
import { createAuthClient } from "better-auth/react";
import { anonymousClient } from "better-auth/client/plugins";
export const authClient = createAuthClient({});
export const authClient = createAuthClient({
plugins: [anonymousClient()],
});