Change referrer policy to be controlled by header in web UI (#33214)
This commit is contained in:
parent
2e35b15b4d
commit
425311e1d9
35 changed files with 51 additions and 50 deletions
|
@ -153,7 +153,7 @@ Rails.application.configure do
|
|||
'X-Frame-Options' => 'DENY',
|
||||
'X-Content-Type-Options' => 'nosniff',
|
||||
'X-XSS-Protection' => '0',
|
||||
'Referrer-Policy' => 'same-origin',
|
||||
'Referrer-Policy' => ENV['ALLOW_REFERRER_ORIGIN'] == 'true' ? 'origin' : 'same-origin',
|
||||
}
|
||||
|
||||
# TODO: Remove once devise-two-factor data migration complete
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue