Skip to content

Commit

Permalink
Stop redirects at AWS signin.
Browse files Browse the repository at this point in the history
  • Loading branch information
stefansundin committed Oct 1, 2016
1 parent d370ef5 commit 0ebe7e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/initializers/05-string.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def resolve_url
://play.spotify.com/error/browser-not-supported.php
://www.linkedin.com/uas/login
://www.theaustralian.com.au/remote/check_cookie.html
://signin.aws.amazon.com/
].any? { |s| response["location"].include?(s) }
throw :done
end
Expand Down

0 comments on commit 0ebe7e4

Please sign in to comment.