Fix tenant-related error retrieving captcha
This commit is contained in:
parent
82c543b167
commit
3996ffc85c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user