mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 20:37:44 +00:00
feat: update username and sign up email should allow username
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
twoFactorClient,
|
||||
adminClient,
|
||||
multiSessionClient,
|
||||
usernameClient,
|
||||
} from "better-auth/client/plugins";
|
||||
import { toast } from "sonner";
|
||||
|
||||
@@ -18,6 +19,7 @@ export const client = createAuthClient({
|
||||
passkeyClient(),
|
||||
adminClient(),
|
||||
multiSessionClient(),
|
||||
usernameClient(),
|
||||
],
|
||||
fetchOptions: {
|
||||
onError(e) {
|
||||
|
||||
Reference in New Issue
Block a user