Skip to content

Commit

Permalink
Merge pull request #603 from alphagov/disable-sessions
Browse files Browse the repository at this point in the history
Disable sessions in favour of manual cookies
  • Loading branch information
benthorner authored May 14, 2018
2 parents f8dc2a8 + ef59e51 commit 72c5586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/session_store.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Rails.application.config.session_store :cookie_store, expire_after: 14.days, secure: !(Rails.env.development? || Rails.env.test?), httponly: true
Rails.application.config.session_store :disabled

0 comments on commit 72c5586

Please sign in to comment.