diff --git a/lib/omniauth-bnet/version.rb b/lib/omniauth-bnet/version.rb index 605d924..fe51ab3 100755 --- a/lib/omniauth-bnet/version.rb +++ b/lib/omniauth-bnet/version.rb @@ -1,5 +1,5 @@ module OmniAuth module Bnet - VERSION = "1.1.0" + VERSION = "1.1.1" end end diff --git a/lib/omniauth/strategies/bnet.rb b/lib/omniauth/strategies/bnet.rb index f50c0a4..e8ffb43 100755 --- a/lib/omniauth/strategies/bnet.rb +++ b/lib/omniauth/strategies/bnet.rb @@ -54,6 +54,10 @@ def raw_info private + def callback_url + full_host + script_name + callback_path + end + def getHost(region) case region when "cn"