Compare commits

..

2 Commits

Author SHA1 Message Date
054561faa6 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
2024-12-07 22:03:18 +00:00
3996ffc85c 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
2024-12-07 22:53:30 +01:00

View File

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