lib/global_session/rack.rb in global_session-3.2.10 vs lib/global_session/rack.rb in global_session-3.3.0

- old
+ new

@@ -296,10 +296,10 @@ msg = "#{e.class} while #{activity}: #{e}" msg += " #{e.backtrace}" unless e.is_a?(ExpiredSession) env['rack.logger'].error(msg) end - if e.is_a?(ClientError) || e.is_a?(SecurityError) + if e.is_a?(ClientError) || e.is_a?(InvalidSignature) env['global_session.error'] = e wipe_cookie(env) elsif e.is_a? ConfigurationError env['global_session.error'] = e else