Don't log encrypted private messages
Rails logs the content of received json as parameters, but this is a bad idea for federation messages. It only makes the logfiles bigger without any benefit, because it's encrypted anyway ...
This commit is contained in:
parent
e1ad855cd8
commit
8859c960ac
1 changed files with 1 additions and 1 deletions
|
|
@ -1,2 +1,2 @@
|
|||
# Don't log received xml data.
|
||||
Rails.application.config.filter_parameters += [:xml]
|
||||
Rails.application.config.filter_parameters += %i(xml aes_key encrypted_magic_envelope)
|
||||
|
|
|
|||
Loading…
Reference in a new issue