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

[UHN-MA-69] Forgot Password Screens/Modals #139

Open
Asiapenguin opened this issue May 4, 2020 · 0 comments
Open

[UHN-MA-69] Forgot Password Screens/Modals #139

Asiapenguin opened this issue May 4, 2020 · 0 comments

Comments

@Asiapenguin
Copy link
Contributor

  • Add a "Forgot Password" button on LoginScreen
    • Upon clicked, modal(?) pops up and asks for Username and Phone Number
      • Can Cancel or Submit (Modal footer buttons)
      • Upon submit, temporary password will only be sent if the Username and Phone Number are correctly matched and exists (maybe some small text on the modal to clarify this)
        • That being said, there's a case where the user can submit and not see any text message sent to them. Use the response status to verify that it is an error on the user side (e.g. wrong username/phone) or server side (e.g. twilio text message down)
  • Upon successful login, check if it used the temporary password to login
    • Provided by the backend call
    • Modal with new password and new password confirm inputs
      • Hit PUT /user/{id} to update password
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

2 participants