A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.npmjs.com/recovering-your-2fa-enabled-account below:

Recovering your 2FA-enabled account | npm Docs

Recovering your 2FA-enabled account

When you have two-factor access enabled on your account, and you lose access to your 2FA device, you may be able to recover your account using the following methods.

Misplaced second factor device

If you have misplaced the device that provided second-factor authentication, you can use the recovery codes generated when you enabled 2FA to access your account.

Using recovery code on the web
  1. Locate the recovery codes generated that you have saved.

  2. On the npm "Sign In" page, enter your account details and click Sign In.
  3. On the "Two-Factor Authentication" page, click Use a recovery code or request a reset.

    Note: If you have configured to use TOTP, you will see an TOTP prompt instead

  4. Enter an unused recovery code in the "Use a Recovery Code" prompt.

  5. You are now logged into npm.

  6. (Optional) To disable 2FA, see "Disabling 2FA".

Using recovery code from the command line
  1. Locate the recovery codes generated when you enabled 2FA on your account.

  2. If you are logged out on the command line, log in using npm login command with your username and npm password.

  3. Enter an unused recovery code when you see this prompt:

  4. Once you are logged in, use the below and enter your npm password if prompted.

    npm profile disable-2fa
  5. Enter another unused recovery code when you see this prompt:

  6. npm will confirm that two-factor authentication has been disabled.

  7. Follow the steps outlined in "Configuring two-factor authentication" to re-enable 2FA and generate new recovery codes.

Note: Using the recovery codes to re-enable 2FA may create a new authenticator account with the same npm account name.

If you are using a time-based one-time password (TOTP) mobile app and want to delete the old authenticator account, follow the steps for the authenticator.

Viewing and regenerating recovery code

Note: Once you regenerate a set of code, all previous recovery codes become invalid. Each code can be used only once.

  1. On the npm "Sign In" page, enter your account details and click Sign In.
  2. In the upper right corner of the page, click your profile picture, then click Account.
  3. On the account settings page, under "Two-Factor Authentication", click Modify 2FA.

  4. Click "Manage Recovery Codes" to view your recovery codes.

  5. Click "Regenerate Code" to generate a new set of codes.

Misplaced recovery codes

If you have misplaced both your 2FA device and your recovery codes, you can contact our support team to attempt to recover your account. Provide as much information as possible to help us expedite the request faster.

  1. On the npm "Sign In" page, enter your account details and click Sign In.
  2. On the "Two-Factor Authentication" page, click Use a recovery code or request a reset.
  3. Under the "Use a Recovery Code" form, click Try recovering your account.

  4. On the "Request an Account Recovery" page, click Start Account Recovery.
  5. If you have access to your registered email, enter the one-time password sent to your email in the One-Time Password field, then click Verify Email Address. If you do not have access to your registered email, select Skip email verification at the bottom of the form.

  6. In the "Open a Support Ticket" form, enter the following information:
  1. At the bottom of the form, click Submit Support Ticket.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4