diff --git a/app/Models/User.php b/app/Models/User.php index b718af61..0bba3e1b 100755 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -38,7 +38,7 @@ class User extends Model public function getGravatarAttribute() { $hash = md5(strtolower(trim($this->attributes['email']))); - return "https://secure.gravatar.com/avatar/".$hash; + return "https://gravatar.loli.net/avatar/".$hash; } public function isAdmin() diff --git a/resources/views/material/user/main.tpl b/resources/views/material/user/main.tpl index 2738cbbd..96659d42 100644 --- a/resources/views/material/user/main.tpl +++ b/resources/views/material/user/main.tpl @@ -33,7 +33,7 @@ {if $user->isLogin} {$user->user_name} - alt text for John Smith avatar +