feat: admin plugin (#117)

This commit is contained in:
Bereket Engida
2024-10-11 21:16:21 +03:00
committed by GitHub
parent 1b8d9d70d2
commit 33223fd575
43 changed files with 1635 additions and 99 deletions

View File

@@ -3,6 +3,7 @@ import {
organizationClient,
passkeyClient,
twoFactorClient,
adminClient,
} from "better-auth/client/plugins";
import { toast } from "sonner";
@@ -13,6 +14,7 @@ export const client = createAuthClient({
twoFactorPage: "/two-factor",
}),
passkeyClient(),
adminClient(),
],
fetchOptions: {
onError(e) {