mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-11 04:19:31 +00:00
docs: fix typo (#1529)
This commit is contained in:
committed by
Bereket Engida
parent
d8c2a9bf12
commit
d8173f383b
@@ -81,7 +81,7 @@ export const auth = betterAuth({
|
|||||||
if a user tries to sign in without verifying their email, you can handle the error and show a message to the user.
|
if a user tries to sign in without verifying their email, you can handle the error and show a message to the user.
|
||||||
|
|
||||||
```ts title="auth-client.ts"
|
```ts title="auth-client.ts"
|
||||||
await authClient.signIn.emailAndPassword({
|
await authClient.signIn.email({
|
||||||
email: "email@example.com",
|
email: "email@example.com",
|
||||||
password: "password"
|
password: "password"
|
||||||
}, {
|
}, {
|
||||||
@@ -158,4 +158,4 @@ export const auth = betterAuth({
|
|||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
Check out the [Email and Password](/docs/authentication/email-password#forget-password) guide for more details on how to implement password reset in your app.
|
Check out the [Email and Password](/docs/authentication/email-password#forget-password) guide for more details on how to implement password reset in your app.
|
||||||
|
|||||||
Reference in New Issue
Block a user