Skip to content

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

Description

@mankitkong
  • 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

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions