mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Only use gravatar fallback if explicitly set to false (#10614)
This commit is contained in:
parent
c82026e930
commit
09b469322e
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ const ADMIN_ATTRS = ["email", "name", "password", "password_confirmation"];
|
|||
export const addGravatarUrlToResource = (resource: any): any => {
|
||||
const { email } = resource;
|
||||
const gravatarAvailable =
|
||||
localStorage.getItem("gravatar_available") === "true";
|
||||
localStorage.getItem("gravatar_available") !== "false"; // Only fallback if explicitly set to "false"
|
||||
|
||||
const emailHash = md5(email.toLowerCase());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue