mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-09 12:27:43 +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.
|
||||
|
||||
```ts title="auth-client.ts"
|
||||
await authClient.signIn.emailAndPassword({
|
||||
await authClient.signIn.email({
|
||||
email: "email@example.com",
|
||||
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