fix: uncomment better auth plugins
This commit is contained in:
@@ -41,14 +41,14 @@ export const auth = betterAuth({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
// apiKey(),
|
apiKey(),
|
||||||
// magicLink({
|
magicLink({
|
||||||
// sendMagicLink: async ({ email, url }) => {
|
sendMagicLink: async ({ email, url }) => {
|
||||||
// await sendEmail(email, "Sign in to kan.bn", "MAGIC_LINK", {
|
await sendEmail(email, "Sign in to kan.bn", "MAGIC_LINK", {
|
||||||
// magicLoginUrl: url,
|
magicLoginUrl: url,
|
||||||
// });
|
});
|
||||||
// },
|
},
|
||||||
// }),
|
}),
|
||||||
],
|
],
|
||||||
hooks: {
|
hooks: {
|
||||||
// after: createAuthMiddleware(async (ctx) => {
|
// after: createAuthMiddleware(async (ctx) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user