forked from External/greenlight
Fixed issue with ldap images (#926)
This commit is contained in:
committed by
farhatahmad
parent
005ec84c73
commit
8a8eee52fe
@ -48,6 +48,9 @@ module AuthValues
|
||||
case auth['provider']
|
||||
when :twitter
|
||||
auth['info']['image'].gsub("http", "https").gsub("_normal", "")
|
||||
when :ldap
|
||||
return auth['info']['image'] if auth['info']['image']&.starts_with?("http")
|
||||
""
|
||||
else
|
||||
auth['info']['image']
|
||||
end
|
||||
|
Reference in New Issue
Block a user