Merge branch 'omniauth_oauth2_1_4_fix'

This commit is contained in:
ErickSkrauch 2017-11-03 14:18:22 +03:00
commit 2c6454f457
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E

View File

@ -42,6 +42,10 @@ module OmniAuth
def profile_url def profile_url
'http://ely.by/u' + raw_info['id'].to_s 'http://ely.by/u' + raw_info['id'].to_s
end end
def callback_url
options[:redirect_uri] || (full_host + script_name + callback_path)
end
end end
end end
end end