π Bug Report: Password recovery fails with `Param "passwordAgain" is not optional.`
labib666 opened this issue Β· comments
Labib Rashid commented
π 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?
- I have read the Code of Conduct
Goshant Kumar meher commented
any update on fix?
i am using appwrite version: 14.0.1