Mutations
changePasswordOptions
Change the current user's password.
Usage
import { changePasswordOptions } from "@better-auth-ui/solid"
import { createMutation } from "@tanstack/solid-query"
const changePassword = createMutation(() => changePasswordOptions(authClient))
changePassword.mutate({ currentPassword: "old", newPassword: "new" })Params
Prop
Type
Last updated on