[User Settings] Add new Change Password view
See original GitHub issueIf you haven’t already, check out our contributing guidelines for onboarding!
Having added four new menu items to the Settings page, we now need to begin linking those menu items to actual pages. This issue pertains to the Change Password
page.
The Change Password view will be displayed when the “Change Password” menu item is clicked. It will display a header with a left-facing arrow on the left-hand side, a title, and an X
button to close the view on the right-hand side. The view will contain a prompt, three text boxes with a titles, and a button with the text Save
.
Deliverables
- Clicking on the
Change Password
menu item on the Settings page will route the user tosettings/passwords
via theSETTINGS_PASSWORD
route in ROUTES.js and display the new view - The
Two Factor Code
field should only display if theaccount.requiresTwoFactorAuth
is true- The two factor code text box should contain a placeholder saying
Required when 2FA is enabled
- The two factor code text box should contain a placeholder saying
- If an incorrect current password or 2FA code is provided we should display the following error
Incorrect password. Please try again.
- This is similar to what we do on the login screen
- If
account.requiresTwoFactorAuth
is true, ensure the error message saysIncorrect password or two factor code. Please try again.
- Pressing
Save
should callUser.changePassword
- Pressing
X
will close the right-hand modal and route the user back to the last viewed report - Pressing
<
should display the main settings view.
Mobile | Web/Desktop |
---|---|
Upwork Link: https://www.upwork.com/jobs/~01fd29c39b73d1e4fa
Issue Analytics
- State:
- Created 3 years ago
- Comments:19 (19 by maintainers)
Top Results From Across the Web
Change User settings on Mac - Apple Support
Learn how to set up a new user. To change these settings, choose Apple menu > System Settings, then click Users & Groups...
Read more >Manage a user's security settings - Google Workspace Admin ...
View and manage user security settings · Click Password · Choose to automatically generate the password or enter a password. · (Optional) To...
Read more >Let users reset their own passwords - Microsoft 365 admin
Steps: Let people reset their own passwords · In the admin center, go to the Settings > Org settings page. · At the...
Read more >Video: Change your Microsoft 365 for business password
Try it! · Sign in to office.com/signin with your work or school account. · Go to Settings > Password. · Enter your old...
Read more >Change password in Outlook Web App - Microsoft Support
The requirements are set by your administrator. For information about the password requirements for your account, contact your helpdesk. Depending on your ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I prefer the sentence underneath the input so let’s go with that!
I like the idea of just using small, muted text directly under the text input for the hint. Especially since tooltips don’t really work well on mobile.