Fix tenant-related error retrieving captcha
All checks were successful
Check usage of free licenses / check-licenses (pull_request) Successful in 53s
Add copyright notice / copyright_notice (pull_request) Successful in 1m37s
Run unit tests / unit_tests (pull_request) Successful in 3m0s

This commit is contained in:
Manuel Bustillo 2024-12-07 22:53:30 +01:00
parent 82c543b167
commit 3996ffc85c

View File

@ -10,4 +10,10 @@ class CaptchaController < ApplicationController
media_url: media_captcha_index_url(id:)
}, status: :created
end
private
def set_tenant
ActsAsTenant.current_tenant = nil
end
end