Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一种情况,Google Authenticator生成无效代码并且我的恢复代码都已过期,如何通过命令行禁用它?
Google Authenticator
我找到了答案,我们可以通过以下方式禁用它gitlab-rails:
gitlab-rails
gitlab-rails runner 'User.update_all(otp_required_for_login: false, encrypted_otp_secret: "")'