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: registrations_controller.rb
    path of file: ./repos/call4paperz/app/controllers
    
    the code of the file until where you have to start completion: class RegistrationsController < Devise::RegistrationsContr
    
  def create
    if verify_recaptcha
      super
    else
      build_resource
      clean_up_passwords(resource)
      flash.now[:alert] = "There was an error with the recaptcha code below. Please re-enter the code."
      flash.delete :recaptcha_error
      render :new
    end