如果你的账户启用了双重访问,并且你无法访问你的 2FA 设备,你可以使用以下方法恢复你的账户。
🌐 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
找到你保存的生成的恢复代码。
在“使用恢复代码”提示中输入未使用的恢复代码。
你现在已登录到 npm。
(可选) 若要禁用双因素认证,请参阅“禁用 2FA”。
🌐 Viewing and regenerating recovery code
注意: 一旦你重新生成一组代码,所有之前的恢复代码将失效。每个代码只能使用一次。
在账户设置页面的“二步验证”下,点击 修改二步验证。
点击“管理恢复代码”以查看你的恢复代码。
点击“重新生成代码”以生成一组新的代码。
🌐 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.
在“使用恢复码”表格下,点击 尝试恢复你的账户。
如果你可以访问注册的电子邮件,请在 一次性密码 字段中输入发送到你邮箱的一次性密码,然后点击 验证邮箱地址。如果你无法访问注册邮箱,请在表单底部选择 跳过邮箱验证。
在 我们可以提供什么帮助? 部分,选择 重置我的双重身份验证 (2FA)。