diff --git a/lib/omniauth/builder.rb b/lib/omniauth/builder.rb index c8d3ef1..6f077a6 100644 --- a/lib/omniauth/builder.rb +++ b/lib/omniauth/builder.rb @@ -8,6 +8,7 @@ module OmniAuth else @app = app super(&block) + @ins << @app end end @@ -44,7 +45,6 @@ module OmniAuth end def call(env) - @ins << @app unless rack14? || @ins.include?(@app) to_app.call(env) end end