mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-07 20:37:44 +00:00
feat: admin plugin (#117)
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
passkey,
|
||||
phoneNumber,
|
||||
twoFactor,
|
||||
admin,
|
||||
} from "better-auth/plugins";
|
||||
import { reactInvitationEmail } from "./email/invitation";
|
||||
import { LibsqlDialect } from "@libsql/kysely-libsql";
|
||||
@@ -83,6 +84,7 @@ export const auth = betterAuth({
|
||||
}),
|
||||
passkey(),
|
||||
bearer(),
|
||||
admin(),
|
||||
],
|
||||
socialProviders: {
|
||||
github: {
|
||||
|
||||
Reference in New Issue
Block a user