Mutations
useRequestPhoneNumberPasswordReset
Send the code used to reset a phone credential password.
Configure Better Auth sendPasswordResetOTP before exposing this action.
const { mutate: requestReset } = useRequestPhoneNumberPasswordReset(
authClient as PhoneNumberAuthClient
)
requestReset({ phoneNumber: "+12025550123" })Params
Prop
Type
Last updated on