Commit cebdccf8c4be3e05be3e885b0da27f2d432ee6d5
1 parent
2a2df48c
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
api: fix logger filter
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
Gemfile
... | ... | @@ -25,7 +25,7 @@ gem 'grape', '~> 0.12' |
25 | 25 | gem 'grape-entity' |
26 | 26 | #FIXME Get the Grape Loggin from master yo solve this issue https://github.com/intridea/grape/issues/1059 |
27 | 27 | #We have to remove this commit referenve code when update the next release of grape_logging. Actualy we are using (1.1.2) |
28 | -gem 'grape_logging', :git => 'https://github.com/aceunreal/grape_logging.git', :ref => '100091b' | |
28 | +gem 'grape_logging', :git => 'https://github.com/aceunreal/grape_logging.git', :ref => 'f1755ae' | |
29 | 29 | gem 'rack-cors' |
30 | 30 | gem 'rack-contrib' |
31 | 31 | ... | ... |
config/application.rb
... | ... | @@ -73,7 +73,7 @@ module Noosfero |
73 | 73 | config.encoding = "utf-8" |
74 | 74 | |
75 | 75 | # Configure sensitive parameters which will be filtered from the log file. |
76 | - config.filter_parameters += [:password] | |
76 | + config.filter_parameters += [:password, :password_confirmation] | |
77 | 77 | |
78 | 78 | # Enable escaping HTML in JSON. |
79 | 79 | ActiveSupport::JSON::Encoding.escape_html_entities_in_json = true | ... | ... |