Skip to content

Commit

Permalink
Merge pull request #20632 from Kuldip-Nanda/master
Browse files Browse the repository at this point in the history
Filtered the auth key in api.log
  • Loading branch information
agrare authored Oct 2, 2020
2 parents 6dd2a16 + 5d8088b commit 8b85ef1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Application < Rails::Application
config.encoding = "utf-8"

# Configure sensitive parameters which will be filtered from the log file.
config.filter_parameters += [:password, :verify, :data, :_pwd, :__protected]
config.filter_parameters += [:password, :verify, :data, :auth_key, :_pwd, :__protected]

# Enable escaping HTML in JSON.
config.active_support.escape_html_entities_in_json = true
Expand Down

0 comments on commit 8b85ef1

Please sign in to comment.