]> git.openstreetmap.org Git - rails.git/commit
When no cache store is set use cookie storage for sessions
authorDrew Dara-Abrams <dda@dara-abrams.com>
Thu, 2 Nov 2017 00:07:29 +0000 (17:07 -0700)
committerTom Hughes <tom@compton.nu>
Thu, 2 Nov 2017 19:19:03 +0000 (19:19 +0000)
commit96a00910d50931b139a1c00319b9fd46d863ca45
tree480d47e999821b31eb381de8c6c3a11e4ea4a0a8
parent236869eb737abfda4baed27ef1e48e99a5bd38ee
When no cache store is set use cookie storage for sessions

A change in the default configuration of development environments
in rails 5.1 means that caching is now disabled by default so in
that case fall back to using cookies instead.

Closes #1666
config/initializers/session_store.rb