X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/af13c423221bec074e8f17bf0cc77ecc9e0c98c6..b2a82f501dd50603b2d87661c48924e440453fa9:/lib/session_persistence.rb?ds=sidebyside diff --git a/lib/session_persistence.rb b/lib/session_persistence.rb index 7d45d1fc4..578039f58 100644 --- a/lib/session_persistence.rb +++ b/lib/session_persistence.rb @@ -51,5 +51,7 @@ module SessionPersistence if session[session_persistence_key] request.session_options[:expire_after] = session[session_persistence_key] end + rescue + reset_session end end