Use an empty array for ruby 2.3 compatibility
Apparently `false.dup` throws in ruby 2.3 and not in 2.5...
This commit is contained in:
parent
5deba2782a
commit
ff86bf136a
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue