require `X-Frame-Options: SAMEORIGIN` for clickjack prevention
This commit is contained in:
parent
e52f6e0f6d
commit
bd5fe86c87
|
@ -0,0 +1,3 @@
|
|||
require 'rack/protection'
|
||||
|
||||
Rails.configuration.middleware.use Rack::Protection::FrameOptions
|
Loading…
Reference in New Issue