2013-08-28 16:15:28 +01:00
|
|
|
class Users::RegistrationsController < Devise::RegistrationsController
|
|
|
|
# POST /resource
|
|
|
|
def create
|
|
|
|
# Try stop bots
|
|
|
|
if params[:recaptcha_response_field].present?
|
2014-01-21 04:51:49 +00:00
|
|
|
respond_with(resource, location: after_inactive_sign_up_path_for(resource))
|
2013-08-28 16:15:28 +01:00
|
|
|
return
|
|
|
|
end
|
|
|
|
super
|
|
|
|
end
|
|
|
|
end
|