mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Merge pull request #1918 from TomsProject/master
Changing Gravatar hashing algorithm to sha256
This commit is contained in:
commit
86da00eb50
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ class AvatarsPlugin extends \RainLoop\Plugins\AbstractPlugin
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->Config()->Get('plugin', 'gravatar', false)) {
|
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) {
|
foreach ($aUrls as $sUrl) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue