Add otp_attempt to filtered parameters

This commit is contained in:
Robert Speicher 2015-05-09 16:52:46 -04:00
parent c845347b23
commit c40f59d04f
1 changed files with 1 additions and 1 deletions

View File

@ -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)
config.filter_parameters.push(:password, :password_confirmation, :private_token, :otp_attempt)
# Enable escaping HTML in JSON.
config.active_support.escape_html_entities_in_json = true