skip recaptcha

This commit is contained in:
Seth Call 2017-10-15 18:15:58 -05:00
parent c7804aebf1
commit 55e9387bd5
1 changed files with 2 additions and 1 deletions

View File

@ -596,7 +596,8 @@ class LandingsController < ApplicationController
password_confirmation: params[:password],
gift_card: @code,
terms_of_service: terms_of_service,
under_13: under_13)
under_13: under_13,
skip_recaptcha: true)
if @user.errors.any?
first = @user.errors.first
@error = "#{first[0].to_s.humanize} #{first[1]}"