diff --git a/app/controllers/captcha_controller.rb b/app/controllers/captcha_controller.rb index 79f84ea..428328d 100644 --- a/app/controllers/captcha_controller.rb +++ b/app/controllers/captcha_controller.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + class CaptchaController < ApplicationController skip_before_action :authenticate_user! diff --git a/app/services/libre_captcha.rb b/app/services/libre_captcha.rb index 3d49e5a..d811437 100644 --- a/app/services/libre_captcha.rb +++ b/app/services/libre_captcha.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + class LibreCaptcha def get_id HTTParty.post("http://libre-captcha:8888/v2/captcha", diff --git a/spec/requests/captcha_spec.rb b/spec/requests/captcha_spec.rb index adac1a8..4cde63a 100644 --- a/spec/requests/captcha_spec.rb +++ b/spec/requests/captcha_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + require 'swagger_helper' RSpec.describe 'captcha', type: :request do