notify user with toast.info() + update toast message

This commit is contained in:
Danny Liu 2024-04-06 01:01:23 -07:00
parent 7081755e19
commit 78565e554b
2 changed files with 4 additions and 4 deletions

View file

@ -151,8 +151,8 @@
if (canvasPixelTest()) {
profileImageUrl = generateInitialsImage(name);
} else {
toast.error(
$i18n.t('Canvas pixel test failed: fingerprint evasion likely. Disable fingerprint evasion and try again!'),
toast.info(
$i18n.t('Fingerprint spoofing detected: default profile picture set. Disable to access initial gravatar!'),
{
autoClose: 1000 * 10
}

View file

@ -44,8 +44,8 @@
);
if (!canvasPixelTest()) {
toast.error(
$i18n.t('Canvas pixel test failed: fingerprint evasion likely. Using default avatar image.'),
toast.info(
$i18n.t('Fingerprint spoofing detected: default profile picture set. Disable to access initial gravatar!'),
{
position: "bottom-center",
autoClose: 1000 * 10,