Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,11 @@ For more information on supported 2FA methods, see "[About two-factor authentica

<Screenshot src="/getting-started/setting-up-your-npm-user-account/2fa-enable.png" alt="Screenshot showing Enable 2FA button" />

4. When prompted provide your current account password and then click **Confirm password to continue**.

5. On the 2FA method page, select the method you would like to enable and click **Continue**. For more information on supported 2FA methods, see "[About two-factor authentication][about-two-factor-authentication]".
4. On the 2FA method page, select the method you would like to enable and click **Continue**. For more information on supported 2FA methods, see "[About two-factor authentication][about-two-factor-authentication]".

<Screenshot src="/getting-started/setting-up-your-npm-user-account/device-selection.png" alt="Screenshot showing 2FA types" />

6. Configure your security-key:
5. Configure your security-key:
- Provide a name for your security-key and click **Add security key**. Follow the browser specific steps to add your security-key.
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hyphenate "browser specific" when used as a compound modifier in user-facing instructions ("browser-specific steps") to improve readability and grammatical correctness.

Suggested change
- Provide a name for your security-key and click **Add security key**. Follow the browser specific steps to add your security-key.
- Provide a name for your security-key and click **Add security key**. Follow the browser-specific steps to add your security-key.

Copilot uses AI. Check for mistakes.

<Screenshot src="/getting-started/setting-up-your-npm-user-account/2fa-add-security-key.png" alt="Screenshot showing security key setup" />
Expand All @@ -57,13 +55,13 @@ For more information on supported 2FA methods, see "[About two-factor authentica

<Screenshot src="/getting-started/setting-up-your-npm-user-account/touch-id-mac-edge.png" alt="Screenshot showing 2FA device selection" />
Comment on lines 55 to 56
Copy link

Copilot AI Apr 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bullet line immediately above this screenshot ("Below is an example of configuration…") is not indented under step 5, so it will start a new top-level bullet list and can break the ordered list numbering/structure in rendered MDX. Indent that line and this screenshot to be part of step 5, or convert it into an indented paragraph within step 5.

Copilot uses AI. Check for mistakes.

7. On the recovery code page, copy the recovery codes to your computer or other safe location that is not your second factor device. We recommend using a password manager.
6. On the recovery code page, copy the recovery codes to your computer or other safe location that is not your second factor device. We recommend using a password manager.

<Screenshot src="/getting-started/setting-up-your-npm-user-account/recovery-code.png" alt="Screenshot showing the Recovery Code page" />

_Recovery codes are the only way to ensure you can recover your account if you lose access to your second factor device. Each code can be used only once. You can [view and regenerate your recovery code][viewing-and-regenerating-recovery-code] from your 2FA settings page. For secondary account recovery options, see "[Configuring account recovery options][configuring-account-recovery-options]."_

8. Click **Go back to settings** after confirming that you have saved your codes.
7. Click **Go back to settings** after confirming that you have saved your codes.

### Disabling 2FA

Expand Down
Loading