Ignore scrubbing operations for 'false' log level.

This commit is contained in:
Ayanda Dube 2016-04-29 13:13:48 +01:00
parent d9f66b31c4
commit 2733f84235
1 changed files with 1 additions and 0 deletions

View File

@ -528,6 +528,7 @@ scrub_payload_creds(Any) -> Any.
scrub_dn(DN) -> scrub_dn(DN, network).
scrub_dn(DN, network_unsafe) -> DN;
scrub_dn(DN, false) -> DN;
scrub_dn(DN, _) ->
case is_dn(DN) of
true -> scrub_rdn(string:tokens(DN, ","), []);