File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ Boolean-based configuration is intended to globally enable or disable a specific
2525``` ruby
2626config.cookies = {
2727 secure: true , # mark all cookies as Secure
28- httponly: OPT_OUT , # do not mark any cookies as HttpOnly
28+ httponly: SecureHeaders :: OPT_OUT , # do not mark any cookies as HttpOnly
2929}
3030```
3131
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ The original implementation of name overrides worked by making a copy of the def
55``` ruby
66class ApplicationController < ActionController ::Base
77 Configuration .default do |config |
8- config.x_frame_options = OPT_OUT
8+ config.x_frame_options = SecureHeaders :: OPT_OUT
99 end
1010
1111 SecureHeaders ::Configuration .override(:dynamic_override ) do |config |
You can’t perform that action at this time.
0 commit comments