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:
Benjamin Neff 2017-04-30 23:34:19 +02:00
parent e1ad855cd8
commit 8859c960ac
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -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)