]> git.openstreetmap.org Git - rails.git/blob - config/initializers/filter_parameter_logging.rb
Add frozen_string_literal comments to ruby files
[rails.git] / config / initializers / filter_parameter_logging.rb
1 # frozen_string_literal: true
2
3 # Be sure to restart your server when you modify this file.
4
5 # Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file.
6 # Use this to limit dissemination of sensitive information.
7 # See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors.
8 Rails.application.config.filter_parameters += [
9   :password, :pass_crypt, :pass_crypt_confirmation
10 ]