Fix CSRF protection (#23037)

Fix regression from #23014
lolsob-rspec
Claire 2023-01-10 14:33:40 +01:00 committed by GitHub
parent 99ecd6a106
commit 7793096d58
1 changed files with 1 additions and 1 deletions

View File

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