X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/af13c423221bec074e8f17bf0cc77ecc9e0c98c6..b76bfe379e6527c9cfc2ced97aa615f8c2c45dd7:/lib/session_persistence.rb 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