fix: auth

This commit is contained in:
David Nguyen
2025-02-09 00:46:25 +11:00
parent f5bfec1990
commit e128e9369e
13 changed files with 188 additions and 142 deletions

View File

@ -58,7 +58,7 @@ export const PasswordForm = ({ className }: PasswordFormProps) => {
const onFormSubmit = async ({ currentPassword, password }: TPasswordFormSchema) => {
try {
await authClient.updatePassword({
await authClient.emailPassword.updatePassword({
currentPassword,
password,
});