Unverified Commit 7081755e authored by Danny Liu's avatar Danny Liu Committed by GitHub
Browse files

Merge pull request #2 from lainedfles/feat/profile-image-initials-fixes

Feat/profile image initials fixes
parents 1af62a70 cf54adf5
......@@ -152,7 +152,7 @@
profileImageUrl = generateInitialsImage(name);
} else {
toast.error(
'Canvas pixel test failed, fingerprint evasion likely. Disable fingerprint evasion and try again!',
$i18n.t('Canvas pixel test failed: fingerprint evasion likely. Disable fingerprint evasion and try again!'),
{
autoClose: 1000 * 10
}
......
......@@ -43,6 +43,16 @@
}
);
if (!canvasPixelTest()) {
toast.error(
$i18n.t('Canvas pixel test failed: fingerprint evasion likely. Using default avatar image.'),
{
position: "bottom-center",
autoClose: 1000 * 10,
}
);
}
await setSessionUser(sessionUser);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment