chore: add .env.exmaple on examples

This commit is contained in:
Bereket Engida
2024-10-14 20:06:03 +03:00
parent 256c8ca5ed
commit 2bc21748e7
75 changed files with 796 additions and 1225 deletions

View File

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