feat: update username and sign up email should allow username

This commit is contained in:
Bereket Engida
2024-10-21 08:12:58 +03:00
parent d4a1d1a70e
commit 9feed3a587
11 changed files with 201 additions and 59 deletions

View File

@@ -7,6 +7,7 @@ import {
twoFactor,
admin,
multiSession,
username,
} from "better-auth/plugins";
import { reactInvitationEmail } from "./email/invitation";
import { LibsqlDialect } from "@libsql/kysely-libsql";
@@ -115,5 +116,6 @@ export const auth = betterAuth({
bearer(),
admin(),
multiSession(),
username(),
],
});