X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/76bc5eba0617e36ebb853d24212543d0e1d4904d..ff86bf136a0ce835938cacb53aa6fda3abc18fd2:/app/controllers/oauth_controller.rb diff --git a/app/controllers/oauth_controller.rb b/app/controllers/oauth_controller.rb index ae6d0983b..7e7a52677 100644 --- a/app/controllers/oauth_controller.rb +++ b/app/controllers/oauth_controller.rb @@ -38,7 +38,7 @@ class OauthController < ApplicationController protected def oauth1_authorize - append_content_security_policy_directives(:form_action => %w[*]) + override_content_security_policy_directives(:form_action => []) if @token.invalidated? @message = t "oauth.authorize_failure.invalid"