1
0
Fork 1
forked from fedi/mastodon

Fix OAuth flow being broken by recent CSP change (#20958)

This commit is contained in:
Claire 2022-11-17 21:31:52 +01:00 committed by talon
parent d2d4d688af
commit 80698a729d

View file

@ -7,6 +7,10 @@ class Oauth::AuthorizationsController < Doorkeeper::AuthorizationsController
before_action :authenticate_resource_owner!
before_action :set_cache_headers
content_security_policy do |p|
p.form_action(false)
end
include Localized
private