require "bcrypt"

module Passport
  class TwitchGuard < Passport::Base
    def self.disable(user_id)
      body = {
        token: passport_token(user_id)
      }

      response = post "/internal/unlock_twitchguard/#{user_id}", body: body
      response.success?
    end

  end
end
