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