Revert "Rails 7 update" (#25667)
parent
5b46345459
commit
ba06a2f104
22 changed files with 144 additions and 242 deletions
@ -1,8 +1,4 @@ |
||||
# Be sure to restart your server when you modify this file. |
||||
|
||||
# Configure parameters to be filtered from the log file. Use this to limit dissemination of |
||||
# sensitive information. See the ActiveSupport::ParameterFilter documentation for supported |
||||
# notations and behaviors. |
||||
Rails.application.config.filter_parameters += [ |
||||
:passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn |
||||
] |
||||
# Configure sensitive parameters which will be filtered from the log file. |
||||
Rails.application.config.filter_parameters += [:password, :private_key, :public_key, :otp_attempt] |
||||
|
@ -1,10 +0,0 @@ |
||||
# frozen_string_literal: true |
||||
|
||||
# TODO |
||||
# The Rails 7.0 framework default here is to set this true. However, we have a |
||||
# location in devise that redirects where we don't have an easy ability to |
||||
# override a method or set a config option, but where the redirect does not |
||||
# provide this option. |
||||
# https://github.com/heartcombo/devise/blob/v4.9.2/app/controllers/devise/confirmations_controller.rb#L28 |
||||
# Once a solution is found, this line can be removed. |
||||
Rails.application.config.action_controller.raise_on_open_redirects = false |
Loading…
Reference in new issue