lib/capcoauth/engine.rb in capcoauth-0.5.0 vs lib/capcoauth/engine.rb in capcoauth-0.5.1
- old
+ new
@@ -1,8 +1,8 @@
module Capcoauth
class Engine < Rails::Engine
initializer 'capcoauth.params.filter' do |app|
- parameters = %w'code access_token'
+ parameters = %w(client_secret code authentication_token access_token refresh_token)
app.config.filter_parameters << /^(#{Regexp.union parameters})$/
end
initializer 'capcoauth.routes' do
Capcoauth::Rails::Routes.install!