Skip to content

Commit

Permalink
Clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
Māris Ābols committed May 11, 2017
1 parent 4cb2839 commit 15d4aa1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions lib/omniauth/strategies/seb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,6 @@ def request_phase
form.to_html.gsub('</form>', '</form><script type="text/javascript">document.forms[0].submit();</script>'))
form.to_response
end

private

def callback_with_status_url(status)
url = URI(callback_url)
url.query = "omniauth_status=#{status}"
url
end
end
end
end
2 changes: 0 additions & 2 deletions spec/omniauth/strategies/seb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,5 @@
expect(last_request.env['omniauth.error.type']).to eq(:invalid_response_crc)
end
end

end

end

0 comments on commit 15d4aa1

Please sign in to comment.