mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-25 16:36:34 -05:00
docs(fix): correct typos in phone number plugin documentation (#1910)
This commit is contained in:
@@ -88,7 +88,7 @@ When the phone number is verified, the `phoneNumberVerified` field in the user t
|
||||
|
||||
### Allow Sign-Up with Phone Number
|
||||
|
||||
to allow users to sign up using their phone number, you can pass `signUpOnVerification` option to your plugin configuration. It requires you to pass `getTempEmail` function to generate a temporary email for the user.
|
||||
To allow users to sign up using their phone number, you can pass `signUpOnVerification` option to your plugin configuration. It requires you to pass `getTempEmail` function to generate a temporary email for the user.
|
||||
|
||||
```ts title="auth.ts"
|
||||
export const auth = betterAuth({
|
||||
@@ -144,7 +144,7 @@ const isVerified = await authClient.phoneNumber.verify({
|
||||
})
|
||||
```
|
||||
|
||||
if user session exist the phone number will be updated automatically
|
||||
If a user session exist the phone number will be updated automatically.
|
||||
|
||||
|
||||
### Disable Session Creation
|
||||
|
||||
Reference in New Issue
Block a user