From 2ff464e00a47e1b0da3ce3bf4f0703f308cd06c5 Mon Sep 17 00:00:00 2001 From: amurrel Date: Mon, 30 Jun 2014 17:48:09 -0400 Subject: removed the checking for the captcha for now to allow new user creation. --- app/controllers/users_controller.rb | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index f4cb15c..ef94190 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -28,13 +28,13 @@ class UsersController < ApplicationController # POST /users.json def create @user = User.new(user_params) - unless (simple_captcha_valid?) - respond_to do |format| - format.html { render action: 'new', status: :unprocessable_entity } - format.json { render json: @user.errors, status: :unprocessable_entity } - end - return - end + #unless (simple_captcha_valid?) + # respond_to do |format| + # format.html { render action: 'new', status: :unprocessable_entity } + # format.json { render json: @user.errors, status: :unprocessable_entity } + # end + # return + #end respond_to do |format| if @user.save -- cgit v1.2.3