Skip to content

Commit

Permalink
Pass launcher error messages to gl (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawn-higgins1 authored and jfederico committed Aug 15, 2019
1 parent 02fde43 commit 300e8f8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
omniauth-bn-launcher (0.1.0)
omniauth-bn-launcher (0.1.3)
omniauth (~> 1.3, >= 1.3.2)
omniauth-oauth2 (= 1.5.0)

Expand Down
2 changes: 1 addition & 1 deletion lib/omniauth-bn-launcher/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module OmniAuth
module Bn
module Launcher
VERSION = "0.1.2"
VERSION = "0.1.3"
end
end
end
2 changes: 2 additions & 0 deletions lib/omniauth/strategies/bn_launcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ def callback_phase
response = Rack::Response.new
response.redirect redirect_url
response.finish
elsif !request.params["message"].nil?
fail!(request.params["message"])
else
super
end
Expand Down

0 comments on commit 300e8f8

Please sign in to comment.