title: How to disable the Two-factor authentication in GitLab?
body: <p>i changed the gitlab server. On the old i had created a backup and now i had imported the backup into the new system. Everyting works!</p>
  
  <p>Now i have the issue, that i can't login because of the Two-factor authentication. I think, that the secret salt changend.</p>
  
  <p>This is the log:</p>
  
  <pre><code>Parameters: {"utf8"=&gt;"✓", "authenticity_token"=&gt;"[FILTERED]", "user"=&gt;{"otp_attempt"=&gt;"[FILTERED]"}}
  
  Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.9ms)
  
  OpenSSL::Cipher::CipherError (bad decrypt):
  app/controllers/sessions_controller.rb:95:in valid_otp_attempt?'
  app/controllers/sessions_controller.rb:63:in authenticate_with_two_factor'
  </code></pre>
  
  <p>How can i disable the Two-factor authentication for one user?</p>
  
  <p>greetings</p>