forked from External/greenlight
load Twitter image over https
This commit is contained in:
parent
f6bff7a58f
commit
54adff3779
|
@ -57,7 +57,7 @@ class User < ApplicationRecord
|
|||
end
|
||||
|
||||
def twitter_image(auth)
|
||||
auth['info']['image'].gsub("_normal", "")
|
||||
auth['info']['image'].gsub("http", "https").gsub("_normal", "")
|
||||
end
|
||||
|
||||
def google_name(auth)
|
||||
|
|
Loading…
Reference in New Issue