Skip to content

Commit

Permalink
Merge pull request #576 from SkyWriter/master
Browse files Browse the repository at this point in the history
Strategy#mock_request_call bug
  • Loading branch information
Michael Bleigh committed Feb 14, 2012
2 parents 21b8db6 + 5d411c5 commit 7cc0a8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/omniauth/strategy.rb
Expand Up @@ -237,7 +237,9 @@ def mock_call!(env)

def mock_request_call
setup_phase
return response if response = call_through_to_app
if response = call_through_to_app
return response
end

if request.params['origin']
@env['rack.session']['omniauth.origin'] = request.params['origin']
Expand Down

0 comments on commit 7cc0a8b

Please sign in to comment.