Make the TOTP cookie httponly
This commit is contained in:
parent
ce8f174a45
commit
0913f286fe
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ csp_policy[:img_src] << Settings.trace_image_storage_url if Settings.key?(:trace
|
|||
csp_policy[:report_uri] << Settings.csp_report_url if Settings.key?(:csp_report_url)
|
||||
|
||||
cookie_policy = {
|
||||
:httponly => { :only => ["_osm_session"] }
|
||||
:httponly => { :only => %w[_osm_session _osm_totp_token] }
|
||||
}
|
||||
|
||||
SecureHeaders::Configuration.default do |config|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue