Resseting password
Hi everyone,
I'm trying to implement a feature where the user can change their password without email verification, just a simple form where they enter the new password.
However, I’m getting the following error in the browser:
Object { message: "invalid token", code: "INVALID_TOKEN", status: 400, statusText: "BAD_REQUEST" }
Here’s the code I’m using to submit the new password:
And also my auth.ts:
Does anyone know why this is happening?2 Replies
User & Accounts | Better Auth
User and account management.
Omg, my fault! Thanks a lottttt