mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 16:41:36 +01:00
Fix Content-Security-Policy when using sso-redirect (#32241)
This commit is contained in:
parent
cf28104317
commit
49407e7623
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ module WebAppControllerConcern
|
|||
policy = ContentSecurityPolicy.new
|
||||
|
||||
if policy.sso_host.present?
|
||||
p.form_action policy.sso_host
|
||||
p.form_action policy.sso_host, -> { "https://#{request.host}/auth/auth/" }
|
||||
else
|
||||
p.form_action :none
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue