gitlab开启Factor Authenticator 后手机丢了,恢复码没保存

疫情在家办公 群里有@信息 有同事代码merge请求然处理一下,马上回复了一下,打开gitlab后傻眼了


截屏2022-05-26 16.15.02.png

才想起来手机黑屏返厂了!!!
赶快找了找电脑有没有下载 gitlab-recovery-codes 找半天也没有

搜了一下怎么解决 发现gitlab官方有文档
https://docs.gitlab.com/ee/user/profile/account/two_factor_authentication.html#ask-a-gitlab-administrator-to-disable-two-factor-authentication-on-your-account

截屏2022-05-26 16.20.56.png

方法: ssh [email protected] 2fa_recovery_codes
重点!!! gitlab.com 替换自己的主机地址 比如 你的是https://gitlabxxxx.com
只要gitlabxxxx.com 不要加 https://

你可能感兴趣的:(gitlab开启Factor Authenticator 后手机丢了,恢复码没保存)