# Change your password

## Overview

[Video: Change your password](https://www.youtube.com/watch?v=d01HeZVnaXY)

This flow describes how you change your own password in Care. When you are signed in, you change it on the **Security** tab of your [user](https://docs.ohc.network/concepts/access-governance/user.md) profile. If you forget it, you reset it from the sign-in page, with a link by email or a code by phone.

Note: Care has no option for an administrator to change or reset the password of another user. Only the owner of the account changes or resets the password.

## Pre-requisites

* If you change your password on the **Security** tab, you are signed in as yourself and you know your current password.
* If you reset a forgotten password by email, you know your username, and your account has an email address that you can open.
* If you reset a forgotten password by phone, you know the phone number of your account and you can receive an SMS on it.

## Permissions

| Permission | Access |
| - | - |
| None. Care lets the owner of the account change or reset the password. | Lets you change your own password when you are signed in, and reset it from the sign-in page when you forget it. Every staff user can do this. No role is needed. |

## Steps

### A. Change your password when you are signed in

#### 1. Open your profile

Open the user menu at the bottom of the sidebar. The menu button shows your name. Select **Profile**.

Note: You can also open your profile with **Edit Profile** on the home page. On a wide screen, it is in the ⋮ menu of the welcome banner.

![Step 1, Open your profile: the Care screen, with the control for this step outlined](/assets/images/change-password-2-bef1ce3cf7dbebd0fbf4348b3866b151.webp)

#### 2. Open the Security tab

Select the **Security** tab.

Note: The **Security** tab shows only on your own profile. It does not show for a service account.

![Step 2, Open the Security tab: the Care screen, with the control for this step outlined](/assets/images/change-password-3-9add0ffb9497a407d11a595626a1647b.webp)

#### 3. Open the password form

In the **Update Password** section, select **Update Password**.

![Step 3, Open the password form: the Care screen, with the control for this step outlined](/assets/images/change-password-4-a5e4419f7974ce3b612675d3ccc18df6.webp)

#### 4. Enter your passwords

Complete the fields in the form.

| Components | What it captures |
| - | - |
| Current Password | Your current password. |
| New Password | Your new password. It must have at least 8 characters, one uppercase letter, one lowercase letter and one number. It must be different from your current password. |
| Confirm New Password | The new password again. It must match **New Password**. |

Note: While the cursor is in **New Password**, Care shows a checklist of the password rules. When every rule passes, Care shows "All set! Your password is strong".

Note: Care also refuses a new password that is too similar to your user details, too common, or only numbers.

![Step 4, Enter your passwords: the Care screen, with the control for this step outlined](/assets/images/change-password-6-e1fa8dcc444761566404d89c0cb0d4db.webp)

#### 5. Save the new password

Select **Update Password**. The button is available only when every field is valid.

To close the form without a change, select **Cancel**.

If your current password is wrong, Care does not change your password.

![Step 5, Save the new password: the Care screen, with the control for this step outlined](/assets/images/change-password-7-b656fdea1e625c82aca49345dd3758e9.webp)

### B. Reset a forgotten password by email

#### 6. Open the forgot-password form

Go to the sign-in page. If the page shows tabs, select **Staff sign-in**.

Select **Forgot password?**.

Note: If you typed your username on the sign-in form, Care copies it into the forgot-password form.

#### 7. Request a reset link

Enter your username in **Username**. Select **Send Reset Link**.

Care shows "Password Reset Email Sent".

Note: Care sends the email only if an active account has that username. For a username that does not exist, Care shows the same message.

#### 8. Open the link in your email

Care sends an email with the subject "Password Reset for Care". Open the link in the email.

Note: The link expires after 24 hours by default. Your deployment can change this period.

Note: The link stops working after your password changes.

Note: If the link is invalid or expired, Care shows "Invalid password reset link". To request a new link, select **Return to Password Reset**.

#### 9. Set your new password

Enter your new password in **New Password**. Enter it again in **Confirm Password**. Select **Reset Password**.

Note: If the new password does not meet the password rules, Care shows "Password doesn't meet the requirements". If the two passwords differ, Care shows "Passwords do not match".

Note: Care also refuses a new password that is too similar to your user details, too common, or only numbers.

### C. Reset a forgotten password by phone

#### 10. Request a code by phone

Open the forgot-password form, as in step 6.

Under "Can't access your email?", select **Reset using phone number**.

Enter the phone number of your account in **Phone Number**. Select **Send OTP**.

Care shows "If this phone number is registered, you will receive an OTP."

Note: Care sends the one-time password (OTP) by SMS only if the phone number belongs to an account. For a number that does not belong to an account, Care shows the same message.

#### 11. Enter the code and your new password

Care shows the **Reset Password** form. Complete the fields in the form.

| Components | What it captures |
| - | - |
| 5-digit code | The OTP from the SMS. |
| New Password | Your new password. |
| Confirm Password | The new password again. |
| Username | Your username. This field shows only if more than one account has this phone number. |

Note: Do not share the code with anyone.

Note: If the code does not arrive, select **Resend OTP**. By default, the button is available after 30 seconds.

Note: By default, the OTP stops working after 3 wrong codes. Then request a new OTP.

Note: To use a different phone number, select **Change Phone Number**.

#### 12. Save the new password

Select **Reset Password**.

## Expected Outcome

* Care changes your password.
* After a change on the **Security** tab, Care shows "Password updated successfully" and clears the form.
* After a reset by email or by phone, Care shows "Password Reset successfully" and opens the sign-in page.
* You sign in with your new password.

## Related

Concepts:

* [User](https://docs.ohc.network/concepts/access-governance/user.md)

Flows:

* [Edit your profile](https://docs.ohc.network/flows/access-governance/user/edit-user-profile.md)
* [Turn on two-factor authentication](https://docs.ohc.network/flows/access-governance/user/turn-on-two-factor-authentication.md)
