Skip to content

Docs feedback: Reset password with OTP

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

https://docs.gitlab.com/ee/security/reset_root_password.html

The page above should also describe how to remove the OTP (2FA) for that user:

user.disable_two_factor!

Note: This can be executed without changing the password and no save! is required.

Note: It should also link to the trick of getting new OTP backup code (ssh git@example.com 2fa_recovery_codes); however there are cases when you can to remove the 2FA for a user all together.

Edited by 🤖 GitLab Bot 🤖