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鈥檒l 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