Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: Password recovery fails with Param "passwordAgain" is not optional. #79

Open
2 tasks done
labib666 opened this issue Apr 8, 2024 · 1 comment
Open
2 tasks done
Labels
bug Something isn't working

Comments

@labib666
Copy link

labib666 commented Apr 8, 2024

👟 Reproduction steps

Steps:

  • Start a password recovery with email and url
  • Use the secret and userId from the link received in email
  • Use node-appwrite client to make a update recovery request
    await account.updateRecovery(userId, secret, password)

The implementation does seem to omit the passwordAgain field

👍 Expected behavior

Given correct userId, secret and qualifying password, the password reset flow should complete without error.

👎 Actual Behavior

I am getting the following error
{"message":"Param "passwordAgain" is not optional.","code":400,"type":"general_argument_invalid","version":"0.12.141"}

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

Linux

🧱 Your Environment

I am using GCP Cloud Run to develop a node js app. The backend sdk of appwrite is v.12.0.0.

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@labib666 labib666 added the bug Something isn't working label Apr 8, 2024
@goshantmeher
Copy link

goshantmeher commented Apr 23, 2024

any update on fix?
i am using appwrite version: 14.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants