def invalid_credentials(force: false)
      puts("The login credentials for '#{user}' seem to be wrong".red)

      if fetch_password_from_env
        puts("The password was taken from the environment variable")
        puts("Please make sure it is correct")
        return false
      end

      if force || agree("Do you want to re-enter your password? (y/n)", true)
        puts("Removing Keychain entry for user '#{user}'...".yellow) if mac?
        remove_from_keychain
        ask_for_login
        return true
      end
      false
    end
def invalid_credentials(force: false)
      puts("The login credentials for '#{user}' seem to be wrong".red)

      if fetch_password_from_env
        puts("The password was taken from the environment variable")
        puts("Please make sure it is correct")
        return false
      end

      if force || agree("Do you want to re-enter your password? (y/n)", true)
        puts("Removing Keychain entry for user '#{user}'...".yellow) if mac?
        remove_from_keychain
        ask_for_login
        return true
      end
      false
    end
Call this method to ask the user to re-enter the credentials
 @param force: if false, the user is asked before it gets deleted
 @return: Did the user decide to remove the old entry and enter a new password?