Convert session timeout to seconds when it is set
authorTom Hughes <tom@compton.nu>
Wed, 25 Oct 2017 07:59:29 +0000 (08:59 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 25 Oct 2017 07:59:29 +0000 (08:59 +0100)
commitfff5a755d367dba9d1f845ca64653c7893915e5a
treec8bb4e5623c069037e1a73d08d2b53424c282420
parent38640e0253e8984974d275f2c232eb057ba86c84
Convert session timeout to seconds when it is set

This avoids problems if the rails Duration class changes
representation between different versions of rails.
lib/session_persistence.rb