Skip to content

Conversation

@florish
Copy link
Contributor

@florish florish commented Dec 31, 2019

This ensures nested params are also filtered (not only top-level).

The previous implementation (unintendedly) left nested "password" keys untouched, which is a common case, e.g. user[password] or session[password] in sign in forms.

Inspired by https://github.com/phoenixframework/phoenix/blob/e4d795ecd3fbf6d28e58f0d4ff678a8288b1a130/lib/phoenix/logger.ex#L77

As with #115, this is just a change to example code in the documentation, not a functional change to Rollbax itself.

@whatyouhide whatyouhide merged commit 9f93250 into ForzaElixir:master Jan 1, 2020
@whatyouhide
Copy link
Contributor

Thanks! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants