From fdef94be9acb80fcb4fbf35ef218307efbebebb6 Mon Sep 17 00:00:00 2001 From: Manuel Bustillo Date: Sat, 7 Dec 2024 23:18:23 +0100 Subject: [PATCH] Revert "Fix tenant-related error retrieving captcha" This reverts commit 3996ffc85c1fe3a912db14cbb317158fe9bcd8e2. --- app/controllers/captcha_controller.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/app/controllers/captcha_controller.rb b/app/controllers/captcha_controller.rb index 0ac3548..351b324 100644 --- a/app/controllers/captcha_controller.rb +++ b/app/controllers/captcha_controller.rb @@ -10,10 +10,4 @@ class CaptchaController < ApplicationController media_url: media_captcha_index_url(id:) }, status: :created end - - private - - def set_tenant - ActsAsTenant.current_tenant = nil - end end