docs: fix typo (#1529)

This commit is contained in:
Hussein Raji
2025-02-21 21:45:07 +00:00
committed by Bereket Engida
parent d8c2a9bf12
commit d8173f383b

View File

@@ -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.