X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e660e609661edadc1ed5ad49d6e83e936b2f91cd..38b9f8f7927f09b32a94df87d1264f568f620480:/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