Changes honeypot family name to address on users sign up form

This commit is contained in:
decabeza
2018-12-20 14:24:11 +01:00
parent d4013ee664
commit cf7155613e
3 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ class Users::RegistrationsController < Devise::RegistrationsController
prepend_before_action :authenticate_scope!, only: [:edit, :update, :destroy, :finish_signup, :do_finish_signup]
before_filter :configure_permitted_parameters
invisible_captcha only: [:create], honeypot: :family_name, scope: :user
invisible_captcha only: [:create], honeypot: :address, scope: :user
def new
super do |user|