Use config.filter_parameters instead of filter_parameter_logging
This commit is contained in:
parent
7d45c2fd3c
commit
423f5ffbc2
3 changed files with 1 additions and 5 deletions
|
@ -16,8 +16,6 @@ class ChangesetController < ApplicationController
|
||||||
around_filter :api_call_handle_error, :except => [:list]
|
around_filter :api_call_handle_error, :except => [:list]
|
||||||
around_filter :web_timeout, :only => [:list]
|
around_filter :web_timeout, :only => [:list]
|
||||||
|
|
||||||
filter_parameter_logging "<osmChange version"
|
|
||||||
|
|
||||||
# Help methods for checking boundary sanity and area size
|
# Help methods for checking boundary sanity and area size
|
||||||
include MapBoundary
|
include MapBoundary
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,6 @@ class UserController < ApplicationController
|
||||||
before_filter :require_administrator, :only => [:set_status, :delete, :list]
|
before_filter :require_administrator, :only => [:set_status, :delete, :list]
|
||||||
before_filter :lookup_this_user, :only => [:set_status, :delete]
|
before_filter :lookup_this_user, :only => [:set_status, :delete]
|
||||||
|
|
||||||
filter_parameter_logging :password, :pass_crypt, :pass_crypt_confirmation
|
|
||||||
|
|
||||||
cache_sweeper :user_sweeper, :only => [:account, :set_status, :delete]
|
cache_sweeper :user_sweeper, :only => [:account, :set_status, :delete]
|
||||||
|
|
||||||
def terms
|
def terms
|
||||||
|
|
|
@ -39,7 +39,7 @@ module OpenStreetMap
|
||||||
config.encoding = "utf-8"
|
config.encoding = "utf-8"
|
||||||
|
|
||||||
# Configure sensitive parameters which will be filtered from the log file.
|
# Configure sensitive parameters which will be filtered from the log file.
|
||||||
config.filter_parameters += [:password]
|
config.filter_parameters += [:password, :pass_crypt, :pass_crypt_confirmation]
|
||||||
|
|
||||||
# Use SQL instead of Active Record's schema dumper when creating the test database.
|
# Use SQL instead of Active Record's schema dumper when creating the test database.
|
||||||
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue