lib/warden-github/strategy.rb in warden-github-0.1.1 vs lib/warden-github/strategy.rb in warden-github-0.1.2

- old
+ new

@@ -14,10 +14,10 @@ rescue OAuth2::HTTPError %(<p>Outdated ?code=#{params['code']}:</p><p>#{$!}</p><p><a href="/auth/github">Retry</a></p>) end else env['rack.session']['return_to'] = env['REQUEST_URI'] - throw(:halt, [ 302, {'Location' => authorize_url}, [ ]]) + throw(:warden, [ 302, {'Location' => authorize_url}, [ ]]) end end private