We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 73863b8 commit 8c19249Copy full SHA for 8c19249
app/User.php
@@ -54,7 +54,7 @@ class User extends Authenticatable
54
*/
55
public function getProfileImageUrl($size = 30): string
56
{
57
- $hash = md5(strtolower(trim($this->email)));
+ $hash = hash('sha256', strtolower(trim($this->email)));
58
59
return '//www.gravatar.com/avatar/' . $hash . '?s=' . $size . '&d=retro';
60
}
0 commit comments