Merge pull request #227 from eai04191/feature/icon-identity

Gravatarのデフォルトアイコンをretroにする
This commit is contained in:
shibafu 2019-06-29 17:24:17 +09:00 committed by GitHub
commit b828a233bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ class User extends Authenticatable
{
$hash = md5(strtolower(trim($this->email)));
return '//www.gravatar.com/avatar/' . $hash . '?s=' . $size;
return '//www.gravatar.com/avatar/' . $hash . '?s=' . $size . '&d=retro';
}
/**