mirror of
https://github.com/better-auth/better-auth.git
synced 2026-06-04 05:16:36 -05:00
docs: fix invalid typescript in magic-link docs (#877)
This commit is contained in:
@@ -19,11 +19,7 @@ Magic link or email link is a way to authenticate users without a password. When
|
||||
export const auth = betterAuth({
|
||||
plugins: [
|
||||
magicLink({
|
||||
sendMagicLink: async ({
|
||||
email: string,
|
||||
token: string,
|
||||
url: string
|
||||
}, request) => {
|
||||
sendMagicLink: async ({ email, token, url }, request) => {
|
||||
// send email to user
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user