mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-18 03:30:55 +01:00
Missing https on gravatar in NetworkController
This commit is contained in:
@@ -47,7 +47,7 @@ class NetworkController implements ControllerProviderInterface
|
|||||||
'name' => $commit->getAuthor()->getName(),
|
'name' => $commit->getAuthor()->getName(),
|
||||||
'email' => $commit->getAuthor()->getEmail(),
|
'email' => $commit->getAuthor()->getEmail(),
|
||||||
// due to the lack of a inbuilt javascript md5 mechanism, build the full avatar url on the php side
|
// due to the lack of a inbuilt javascript md5 mechanism, build the full avatar url on the php side
|
||||||
'image' => 'http://gravatar.com/avatar/' . md5(
|
'image' => '//gravatar.com/avatar/' . md5(
|
||||||
strtolower($commit->getAuthor()->getEmail())
|
strtolower($commit->getAuthor()->getEmail())
|
||||||
) . '?s=40'
|
) . '?s=40'
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user