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

Restore password #136

Closed
ghost opened this issue Sep 6, 2019 · 0 comments
Closed

Restore password #136

ghost opened this issue Sep 6, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 6, 2019

As a registered user I want to be able to restore my password, so that I can log in to the application if I forgot my password.

Acceptance Criteria:

  1. WHEN Unregistered user clicks on "Sign in" button THEN, in the popup he shall see "Restore password" button (next to other elements described in Sign in: credentials #4100, Register in application with Google account #50 ).
  2. WHEN user presses "Restore password" button, THEN system shall display
    a. message: "Please enter your email address"
    b. Input field
    c. button "Reset"
  3. GIVEN user entered an email and pressed "Reset" button:
    • WHEN the email is matched with an existing email in the DB, THEN system shall
      a. display message "Password reset link has been sent to your email address."
      b. send reset password link to the email address
    • WHEN the email is not matched with an existing email in the DB, THEN system shall
      a. display message "Email address not found"
  4. WHEN user clicks on the reset password link, sent to him by email, he shall be navigated to an application screen with
    a. message "Enter your new password"
    b. input field with placeholder "Enter password"
    c. input field with placeholder "Re-enter password"
    d. button "Submit"
  5. "Submit" button shall be disabled until user enters valid password into both input fields. (as in Sign in: credentials #4100 )
  6. Entered data in the input fields shall be hidden with dots (password shall not be visible when entered).
  7. GIVEN entered data in both input fields does not match, WHEN user presses the "Submit" button, THEN system shall display a red notification message "Password does not match". - TBD
  8. GIVEN entered data in both input fields matches, WHEN user presses the "Submit" button, THEN system shall
    a. display a notification message "Your password has been reset"
    b. change and store new password in DB
    c. send an email to user with message "Your password has just been reset.".

Assumptions and Constraints:

related to #4100 #50

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

No branches or pull requests

3 participants