app/controllers/registrations_controller.rb in milia-0.3.12 vs app/controllers/registrations_controller.rb in milia-0.3.13

- old
+ new

@@ -13,11 +13,11 @@ # ------------------------------------------------------------------------------ def create sign_out_session! - if verify_recaptcha + # if verify_recaptcha # ?? does this need: :model => resource ?? @tenant = Tenant.create_new_tenant(params) if @tenant.errors.empty? # tenant created initiate_tenant( @tenant ) # first time stuff for new tenant @@ -28,14 +28,14 @@ else @user = User.new(params[:user]) render :action => 'new' end - else - flash[:error] = "Recaptcha code error; please re-enter the code and click submit again" - @user = User.new(params[:user]) - render :action => 'new' - end + # else + # flash[:error] = "Recaptcha code error; please re-enter the code and click submit again" + # @user = User.new(params[:user]) + # render :action => 'new' + # end end # def create # ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------