diff --git a/app/Models/User.php b/app/Models/User.php index 89d88321cd0b..ebb838a11068 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -172,7 +172,7 @@ public function setPasswordAttribute($password) */ public function getGravatarAttribute($size = 200) { - return sprintf('https://www.gravatar.com/avatar/%s?size=%d', md5($this->email), $size); + return sprintf('https://www.gravatar.com/avatar/%s?size=%d', md5(strtolower($this->email)), $size); } /** diff --git a/resources/views/dashboard/components/edit.blade.php b/resources/views/dashboard/components/edit.blade.php index 1d27ffd16f26..429a35e90022 100644 --- a/resources/views/dashboard/components/edit.blade.php +++ b/resources/views/dashboard/components/edit.blade.php @@ -25,7 +25,7 @@ @@ -59,7 +59,7 @@