1
0
Fork 1
forked from fedi/mastodon

Fix CSRF protection (#23037)

Fix regression from #23014
This commit is contained in:
Claire 2023-01-10 14:33:40 +01:00 committed by talon
parent 10438e8301
commit c925059570

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')