You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding a filter to /config/initializers/filter_parameter_logging.rb is not working in Rails 4 with Grape v0.11.0
I have added a filter: Rails.application.config.filter_parameters += [:password, :authentication_token] but I'm still seeing :authentication_token in my logs:
SELECT users.* FROM usersWHEREusers.authentication_token = '$2a$10$ZTygoKxHQnQGeb4oWJyq283hdkHc2IOrxOgX9r0IXcE2JikptFIT.' LIMIT 1
Any ideas how to get filtering working?
The text was updated successfully, but these errors were encountered:
Adding a filter to /config/initializers/filter_parameter_logging.rb is not working in Rails 4 with Grape v0.11.0
I have added a filter:
Rails.application.config.filter_parameters += [:password, :authentication_token]
but I'm still seeing:authentication_token
in my logs:SELECT
users.* FROM
usersWHERE
users.
authentication_token= '$2a$10$ZTygoKxHQnQGeb4oWJyq283hdkHc2IOrxOgX9r0IXcE2JikptFIT.' LIMIT 1
Any ideas how to get filtering working?
The text was updated successfully, but these errors were encountered: