恢复启用 2FA 的账户

如果您的账户启用了双重访问,并且您无法访问您的 2FA 设备,您可以使用以下方法恢复您的账户。

遗失的第二重设备

如果您遗失了提供第二重身份验证的设备,您可以使用您 启用 2FA 时生成的恢复码访问您的账户。

在网站上使用恢复代码

  1. 找到您保存的生成的恢复代码。

  2. 在 npm "注册" 页面上,输入您的账户详细信息并单击登录。

  3. 在 "Two-Factor Authentication" 页面上,单击使用恢复代码或请求重置。

    K/pHtPqSTFeFaQP04Hse8ApO0cPWA7Lnqj2KB7wGHinYZrxosa0hn2yTILr96Gl+H7rQy6PCPvbMsHEtRy1T+oY2iYLeE/bP9BNqdXnSrLc=

  4. x4IIOwr4xfLTqhyWk70zQLCKaJtHpigsapNJ1jV+wC7dGMpQMoq4s59blVFkYbL5WaQ4C6lAkKjqWJXj9V1wvzW/YGth0Cg36PK3lIa8SWA=

  5. 5Y+HsrFK0zetAI5rRA1b6sWHgVMEvP3Y6J/pvfCeJ9w=

  6. xGjwgFYOs6+tYoW/jKpS6rODDmtsRy8Rsn8Ayowpj+V291EPUJNCfHWM/Ia6APIH4iX3LNgqVkCCLsX+VynPPyUTyRzTsGARJCE5qglzv7og4ESrViR1FTVZjIynEXArReEhvWQm9ifESzYkirVaoQ==

从命令行使用恢复代码

  1. hAawdyRW9WFoirlyPrmm3H6LbT+5oLYG/3KVqAZaoXCI8jPRJ6NIopC/ZoY2cwbf+WVDv4YMMwgZ06uhf7FAFg==

  2. XH1C306MYIfEqkPOPvjJjPvDNWlTEgUAumvhx6Km8sDIfuggYsA/dPuFrkGCQ5nMqIye0bizRGe/apLwuSfp3+zFlbPLSq6glIsN2qFJXoJoucuSXNTUvV1TJ3mPHl6uzXr3IqJoZY3pT+6sNgWbM/muyr1gqWNrmY9yoXuMzPI=

  3. 2JKBlgOCxpCJzHgqCXGBbpwyPzMgNe15Gp1QA4DhrQLcJ5HmDr23FHg23vZIlAOywjTqrnkaI7DGZrq2WPeo4Q==

    uzuKCA75Th1Nx6TdY3L5AunZi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