Skip to content

Commit

Permalink
OTWO-7216 Use secure cookies in Prod (#1778)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-sig authored Apr 4, 2024
1 parent 6258f79 commit 2935f22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/initializers/session_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@

# Be sure to restart your server when you modify this file.

Rails.application.config.session_store :cookie_store, key: '_ohloh-ui_session'
Rails.application.config.session_store :cookie_store, key: '_ohloh-ui_session',
secure: (Rails.env.staging? || Rails.env.production?)

0 comments on commit 2935f22

Please sign in to comment.