mirror of
https://github.com/getgrav/grav.git
synced 2026-02-05 14:20:32 +01:00
Update User.php (#2403)
This commit is contained in:
committed by
Andy Miller
parent
409b4028d0
commit
c80a3f5568
@@ -284,7 +284,7 @@ class User extends Data
|
||||
return Grav::instance()['base_url'] . '/' . $avatar['path'];
|
||||
}
|
||||
|
||||
return 'https://www.gravatar.com/avatar/' . md5($this->email);
|
||||
return 'https://www.gravatar.com/avatar/' . md5( strtolower( trim($this->email) ) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user