-
请开启 Gitlab 两步验证
两步验证为你的帐户增加一层额外保护。无论何时登录到Gitlab,都需要输入你的帐户密码和验证码。验证码只能通过你的手机获得
启用两步验证后,你需要提供密码和以下安全码之一才能登录
验证码(通过验证应用生成) 备用安全码(在初始化设置时候获得)
启用两步验证
- 登陆 Gitlab, 打开个人账户设置 https://gitlab.dreamdev.cn/profile/account
- 点击
Enable Two-Factor Authentication
- 用身份验证器扫描二维码
- 在 Pin code 输入栏输入当前微软身份验证器上的6位验证码
- 点击 register with two-factor app 即可完成验证
- 完成设置后页面将会显示一系列备用安全码, 将你的备用代码打印或保存到安全的地方。日后万一如果你无法使用微软身份验证器, 可以使用这些备用码进行登录.
微软身份验证器安装:
从手机自带的应用市场搜索Microsoft Authenticator进行安装
Google Play: https://play.google.com/store/apps/details?id=com.azure.authenticator
APK: https://www.apkmirror.com/apk/microsoft-corporation/microsoft-authenticator/
iOS: https://apps.apple.com/cn/app/microsoft-authenticator/id983156458