Skip to content
This repository has been archived by the owner on Nov 8, 2018. It is now read-only.

Changing a user's password #36

Open
Ottomobile opened this issue Apr 29, 2018 · 0 comments
Open

Changing a user's password #36

Ottomobile opened this issue Apr 29, 2018 · 0 comments
Labels

Comments

@Ottomobile
Copy link
Contributor

Ottomobile commented Apr 29, 2018

Create new screen with 3 fields:

  1. Enter old password
  2. New password
  3. Retype new password
  • First re-authenticate the user as done in the login screen.
  • If the authentication is correct (based on user's email and old entered password) and the new passwords match, use a PUT request and update the new password for the account. You can make a function based on the same PUT request as shown in the Edit Profile screen, having just a password field.
  • Display alert if old password is incorrect or new passwords don't match

<Button color="#ED4969" title="Change Password" onPress={

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant