If you have lost both your normal 2FA method and your 10 backup codes, you can retrieve new ones if you can authenticate via SSH.
ssh git@gitlab.example.com 2fa_recovery_codes
You must log in or # to comment.
If you have lost both your normal 2FA method and your 10 backup codes, you can retrieve new ones if you can authenticate via SSH.
ssh git@gitlab.example.com 2fa_recovery_codes