You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tracked down an issue we we're having with sessions which was caused because this gem silently enables sessions at the Sinatra level. Our product spans a couple Sinatra and plain Rack apps so we use Rack::Session::Cookie as a normal middleware, which causes conflicts with the "Sinatra way".
I'm not sure if it's feasible but I like the approach rack_csrf takes that checks for sessions or raises an error.
The text was updated successfully, but these errors were encountered:
I just tracked down an issue we we're having with sessions which was caused because this gem silently enables sessions at the Sinatra level. Our product spans a couple Sinatra and plain Rack apps so we
use Rack::Session::Cookie
as a normal middleware, which causes conflicts with the "Sinatra way".I'm not sure if it's feasible but I like the approach
rack_csrf
takes that checks for sessions or raises an error.The text was updated successfully, but these errors were encountered: