X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/945df0f150ea803e1a654b03155ecdb444c6ed1c..f37ea2fae3bd7330d42ca257baf175dd811b2ac6:/config/initializers/filter_parameter_logging.rb diff --git a/config/initializers/filter_parameter_logging.rb b/config/initializers/filter_parameter_logging.rb index 58aa62573..460804ff0 100644 --- a/config/initializers/filter_parameter_logging.rb +++ b/config/initializers/filter_parameter_logging.rb @@ -1,6 +1,8 @@ # Be sure to restart your server when you modify this file. -# Configure sensitive parameters which will be filtered from the log file. +# Configure parameters to be partially matched (e.g. passw matches password) and filtered from the log file. +# Use this to limit dissemination of sensitive information. +# See the ActiveSupport::ParameterFilter documentation for supported notations and behaviors. Rails.application.config.filter_parameters += [ :password, :pass_crypt, :pass_crypt_confirmation ]