diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-09 02:44:27 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-09 02:44:27 +0300 |
commit | 4558bb1f4a4be88bd05f0de9826686a86d63acad (patch) | |
tree | d8fab25b67b6de2e2f0d1abfa17732442ffb808a /config/application.rb | |
parent | bce482a59a235edf1607dab73dff88aba4300012 (diff) |
Filter out variables from production logs
This prevents leakage of CI Secure Variables
Diffstat (limited to 'config/application.rb')
-rw-r--r-- | config/application.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/application.rb b/config/application.rb index d255ff0719f..33d7b881fa4 100644 --- a/config/application.rb +++ b/config/application.rb @@ -31,7 +31,7 @@ module Gitlab config.encoding = "utf-8" # Configure sensitive parameters which will be filtered from the log file. - config.filter_parameters.push(:password, :password_confirmation, :private_token, :otp_attempt) + config.filter_parameters.push(:password, :password_confirmation, :private_token, :otp_attempt, :variables) # Enable escaping HTML in JSON. config.active_support.escape_html_entities_in_json = true |