You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: confirmations_controller.rb
    path of file: ./repos/mastodon/app/controllers/settings/two_factor_authentication
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Settings
  module TwoFactorAuthentication
    class ConfirmationsController < BaseController
      include ChallengableConcern

      skip_before_action :require_functional!

      b
    
      def prepare_two_factor_form
        @confirmation = Form::TwoFactorConfirmation.new
        @new_otp_secret = session[:new_otp_secret]
        @provision_url = current_user.otp_provisioning_uri(current_user.email,
                                                           otp_secret: @new_otp_secret,
                                                           issuer: Rails.configuration.x.local_domain)
        @qrcode = RQRCode::QRCode.new(@provision_url)
      end