lib/finapps/middleware/response_logger.rb in finapps-0.0.14.pre vs lib/finapps/middleware/response_logger.rb in finapps-0.0.15.pre
- old
+ new
@@ -22,12 +22,12 @@
end
def filter_sensitive_header_values(key, value)
case key
when 'X-FinApps-Token', 'Basic-Authorization'
- value.inspect
- else
'[REDACTED]'
+ else
+ value.inspect
end
end
def dump_body(body)
"\n" << body