Use an empty array for ruby 2.3 compatibility
[rails.git] / app / controllers / oauth_controller.rb
index 801d88a18020642b60c8546473d8aaef1eaf1963..7e7a52677ccf60105d613645465a62ea93079714 100644 (file)
@@ -38,7 +38,7 @@ class OauthController < ApplicationController
   protected
 
   def oauth1_authorize
-    override_content_security_policy_directives(:form_action => false)
+    override_content_security_policy_directives(:form_action => [])
 
     if @token.invalidated?
       @message = t "oauth.authorize_failure.invalid"