mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-12-27 23:46:18 +00:00
Merge pull request #1918 from TomsProject/master
Changing Gravatar hashing algorithm to sha256
This commit is contained in:
commit
86da00eb50
@ -273,7 +273,7 @@ class AvatarsPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||
}
|
||||
|
||||
if ($this->Config()->Get('plugin', 'gravatar', false)) {
|
||||
$aUrls[] = 'https://gravatar.com/avatar/'.\md5(\strtolower($sAsciiEmail)).'?s=80&d=404';
|
||||
$aUrls[] = 'https://gravatar.com/avatar/'.\hash('sha256', \strtolower($sAsciiEmail)).'?s=80&d=404';
|
||||
}
|
||||
|
||||
foreach ($aUrls as $sUrl) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user