Back

[SOLVED] password recovery

  • 0
  • Users
  • Flutter
  • Accounts
Faisal7
19 May, 2023, 09:21

User option 1: I am trying to build a Password recovery workflow like sending email with an OTP code to user and verify that and then change the password of user. Is it possible to change the user password without secret because i would not have any secret. Because i am not using the appwrite send email function. Is their any otherway as well to change the user password.

User option 2: I want to give the user to change their password by writing their existing password. Can i change the user password like this? For this i also need like changing the password without secret.

TL;DR
User 1 is asking if it's possible to change a user's password without a secret, as they are not using the appwrite email function. User 2 wants to allow users to change their password by entering their existing password. Solution: There is a function in the Users API called users.updatePassword() that can be used to solve both User 1 and User 2's problems.
Faisal7
19 May, 2023, 09:29

Ok i found a function in Users Api which i can solve my problem users.updatePassword()

Faisal7
19 May, 2023, 09:29

[SOLVED] password recovery

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