-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
- 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 clicked, modal(?) pops up and asks for Username and Phone Number
- 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