Commit cf19cc5e authored by Israel Barreto Sant'Anna's avatar Israel Barreto Sant'Anna
Browse files

Fix omniauth_callback error

parent e87b2ec8
......@@ -24,7 +24,7 @@ require 'open-uri'
# break out provider attribute assignment for easy method extension
def assign_provider_attrs(user, auth_hash)
avatar = URI.parse(open(auth_hash['info']['image'])).open
avatar = URI.parse(auth_hash['info']['image']).open
nickname: auth_hash['info']['nickname'],
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment