lib/clearance/engine.rb in clearance-1.0.0.rc7 vs lib/clearance/engine.rb in clearance-1.0.0.rc8
- old
+ new
@@ -5,8 +5,8 @@
class Engine < Rails::Engine
initializer 'clearance.filter' do |app|
app.config.filter_parameters += [:password, :token]
end
- config.app_middleware.insert_after ActionDispatch::Cookies, Clearance::RackSession
+ config.app_middleware.insert_after ActionDispatch::ParamsParser, Clearance::RackSession
end
end