diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-11-17 21:56:05 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-11-17 21:56:05 +0100 |
commit | 367db8222f651ce439ebcb9c0d1b50483972173f (patch) | |
tree | 5610adfa97edb76e6b6279c2e0457ce882bab6ba /app/controllers/oauth | |
parent | 381137c94e6cf341117adddc673cfac82760c710 (diff) | |
parent | 4ae97a2e4c4bea850c95a523e84e0424e7c18ffd (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'app/controllers/oauth')
-rw-r--r-- | app/controllers/oauth/authorizations_controller.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/controllers/oauth/authorizations_controller.rb b/app/controllers/oauth/authorizations_controller.rb index 279b68016..d6e7d0800 100644 --- a/app/controllers/oauth/authorizations_controller.rb +++ b/app/controllers/oauth/authorizations_controller.rb @@ -8,6 +8,10 @@ class Oauth::AuthorizationsController < Doorkeeper::AuthorizationsController before_action :set_pack before_action :set_cache_headers + content_security_policy do |p| + p.form_action(false) + end + include Localized private |