Browse Source

Fix CSRF protection (#23037)

Fix regression from #23014
closed-social-glitch-2
Claire 1 year ago
committed by GitHub
parent
commit
cff7d967f9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      config/environments/production.rb

+ 1
- 1
config/environments/production.rb View File

@ -138,7 +138,7 @@ Rails.application.configure do
'X-Content-Type-Options' => 'nosniff',
'X-XSS-Protection' => '0',
'Permissions-Policy' => 'interest-cohort=()',
'Referrer-Policy' => 'no-referrer',
'Referrer-Policy' => 'same-origin',
}
config.x.otp_secret = ENV.fetch('OTP_SECRET')

Loading…
Cancel
Save