Sha256: a514b84e1880d1c6c5672d03bc573cf02c2d118f0805a1abdb07a54c97b15269

Contents?: true

Size: 531 Bytes

Versions: 2

Compression:

Stored size: 531 Bytes

Contents

# Authkit specific parameters should be filtered from logs and errors. This
# prevents them from unintentionally appearing in reports or leaking when
# doing reviews.
Rails.application.config.filter_parameters += [
  :password,
  :password_confirmation,
  :otp_secret_key,
  :token,
  :remember_token,
  :confirmation_token,
  :reset_password_token,
  :unlock_token,
  :first_name,
  :last_name,
  :phone_number,
  <% if username? %>:username,
  <% end %>:email,
  :confirmation_email,
  :current_sign_in_ip,
  :last_sign_in_ip
]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
authkit-0.7.0 lib/generators/authkit/templates/config/initializers/filter_parameter_logging.rb
authkit-0.5.0 lib/generators/authkit/templates/config/initializers/filter_parameter_logging.rb