Merge pull request 'Fix tenant-related error retrieving captcha' (#168) from fix-tenant-captcha into main
All checks were successful
Check usage of free licenses / check-licenses (push) Successful in 55s
Run unit tests / unit_tests (push) Successful in 3m2s
Build Nginx-based docker image / build-static-assets (push) Successful in 25m30s

Reviewed-on: #168
This commit is contained in:
bustikiller 2024-12-07 22:03:18 +00:00
commit 054561faa6

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