Back

when is password optional for updatePassword

  • 0
  • React Native
  • Auth
RageE1dër
14 Mar, 2025, 02:56

In the document it says that the old password is option when updatingPassword but when i implemented it requires me to give it my old password. So when is the old password optional.

TypeScript
    '', // password
    'password' // oldPassword (optional)
);
TL;DR
The document says old password is optional for updatePassword, but it's not working as expected. Verify the implementation and check if there are any conflicting requirements from the document.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more