Skip to main content

使用双重身份验证 (2FA) 保护您的帐户

可将 上的帐户设置为在登录时除了密码以外还需要验证码。

**注意:**Starting in March 2023 and through the end of 2023, GitHub will gradually begin to require all users who contribute code on to enable one or more forms of two-factor authentication (2FA). If you are in an eligible group, you will receive a notification email when that group is selected for enrollment, marking the beginning of a 45-day 2FA enrollment period, and you will see banners asking you to enroll in 2FA on If you don't receive a notification, then you are not part of a group required to enable 2FA, though we strongly recommend it.

有关 2FA 注册推出的详细信息,请参阅此博客文章