Skip to content
Snippets Groups Projects
Commit a2197b8d authored by Treadway, Ross T (UG - Computer Science)'s avatar Treadway, Ross T (UG - Computer Science)
Browse files

Adding additional security to cookies/session variables

parent 3fcc0cda
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,9 @@ module Calendar ...@@ -19,6 +19,9 @@ module Calendar
# config.time_zone = "Central Time (US & Canada)" # config.time_zone = "Central Time (US & Canada)"
# config.eager_load_paths << Rails.root.join("extras") # config.eager_load_paths << Rails.root.join("extras")
config.session_store :cookie_store, key: '_app_session', expire_after: 14.days, :httponly => true
config.action_view.field_error_proc = Proc.new { |html_tag, instance| config.action_view.field_error_proc = Proc.new { |html_tag, instance|
html_tag html_tag
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment