See Details
目录
组织所有者可以要求组织成员为其个人账户启用双重身份验证,从而使恶意行为者更难访问组织的包和设置
¥Organization owners can require organization members to enable two-factor authentication for their personal accounts, making it harder for malicious actors to access an organization's packages and settings
关于组织的双重身份验证
¥About two-factor authentication for organizations
双重身份验证 (2FA) 是登录网站或应用时使用的额外安全层。你可以要求组织中的所有成员在 npm 上启用双重身份验证。有关双重身份验证的更多信息,请参阅 "配置双重身份验证"。
¥Two-factor authentication (2FA) is an extra layer of security used when logging into websites or apps. You can require all members in your organization to enable two-factor authentication on npm. For more information about two-factor authentication, see "Configuring two-factor authentication".
注意:
¥Note:
-
当你需要为你的组织使用双重身份验证时,不使用 2FA 的成员将从组织中删除并失去对其包的访问权限。如果他们启用了双重身份验证,你可以将他们添加回组织。
¥When you require use of two-factor authentication for your organization, members who do not use 2FA will be removed from the organization and lose access to its packages. You can add them back to the organization if they enable two-factor authentication.
-
如果组织所有者未在其账户上启用 2FA,则他们不能选择要求组织进行 2FA。
¥An organization owner cannot opt-in to requiring 2FA for an organization if they do not have 2FA enabled on their account.
-
如果你是需要 2FA 的组织的成员,你将无法禁用 2FA,直到你离开该组织。
¥If you are the member of an organization that requires 2FA you will not be able to disable 2FA until you leave that organization.
先决条件
¥Prerequisites
在你可以要求组织成员使用双重身份验证之前,你必须在 npm 上为你的账户启用双重身份验证。有关详细信息,请参阅 "配置双重身份验证"。
¥Before you can require organization members to use two-factor authentication, you must enable two-factor authentication for your account on npm. For more information, see "Configuring two-factor authentication".
在你需要使用双重身份验证之前,我们建议通知组织成员并要求他们为其账户设置 2FA。你可以在组织成员页面查看成员是否已经使用 2Fa。
¥Before you require use of two-factor authentication, we recommend notifying organization members and asking them to set up 2FA for their accounts. You can see if members already use 2Fa in the organizations members page.
在你的组织中需要双重身份验证
¥Requiring two-factor authentication in your organization
- 在 npm“登录”页面上,输入您的帐户详细信息并单击登录。
- 在页面的右上角,点击您的个人资料照片,然后点击帐户