lib/doorkeeper/engine.rb in doorkeeper-5.0.0 vs lib/doorkeeper/engine.rb in doorkeeper-5.0.1
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
module Doorkeeper
class Engine < Rails::Engine
initializer "doorkeeper.params.filter" do |app|
parameters = %w[client_secret code authentication_token access_token refresh_token]
app.config.filter_parameters << /^(#{Regexp.union parameters})$/